1 | initial version |
It looks more like a tracking question, you can check this link to learn more about it : https://www.learnopencv.com/object-tracking-using-opencv-cpp-python/
for detection only in different frames, would be a deep learning problem specifically, where you can use different models. Since Opencv is also able to use some models specifically YOLO, so you can check this link https://www.pyimagesearch.com/2018/11/12/yolo-object-detection-with-opencv/ to learn more about it.