c++/opencv hand animation box selects the target and outputs the target