Track black object with optical flow
Hi,
I want to do multi object tracking on real time device. So I want a fast tracker. I tried to do tacking with optical flow (PyrLKOpticalFlow). It works very fast and fine on a video with cars. But I move on to a video with peoples (TownCentre) and the tracker failed on people with black coat.
I select a point at the center of the object and then I track this point to know the position of the object over frames.
I tried to generate points with cv2.goodFeaturesToTrack but no points on the guys with black coat... I join a screen shot of the object I want to track : https://ibb.co/pZS1HsD
I have the same issue with KCF tracker, KCF failed to track this guys ...
Is there a solution to my problem ?
please put your image here, not on an external bin, thank you.
I tried, but I can not upload my image ... Do not know why. Nothing happen
Look at median flow paper. There is apparently no benefit to using GFFT or FAST. You must also use more than one feature point per object. Preferably several to compute scale and rotation changes, but you are tracking non-rigid objects, so...
@KyloEntro. Do u want to select 2 person with black jackets or any person? What's language to write? I merely used python 3.7 or later. Btw, I can only elected 2 person by using mouse events.