I have a function to detect an object held by a person but it is slow.
top_left_x, top_left_y, bottom_right_x, bottom_right_y = self.segment_image(depth_image_raw,cv_image)
I would like to do tracking for couple of frames in between to speed up the whole process. What is the best way to do this using opencv
I am using a ros node to acquire the frames from the kinect sensor