Object Recognition question please help [closed]
Hi guys, I have wrote a object recognition code that is able to combine colour and shape tracking and track an object in a video based on these attributes. It works fine, however I'm having a slight issue with tracking two object of interest. so for example I am able to track a paper that is rectangle and red and this works fine, so if there another paper that is rectangle and blue or circle and red doesn't interfere with my tracking however if there is 2 papers that are both rectangle and red then the tracking will not work. Is there a way to counter this problem? to expand on this, the results i want to achieve is to track an object of interest in a video, however if a 2nd object of the same shape and colour was to appear in the video, i would like to ignore it and keep tracking the first object.
It is quite simple, your tracker predicts the direction of movement. If your first object is being tracked you know where it is supposed to go. If another object appears but it has a different movement or it is in an impossible location according to the tracker, you should ignore it.