0 down vote favorite I am currently making a python code for people headcounting with direction. I have used 'moments'method to gather the coordinates and eventually when it crosses a certain line then the counter increments.But, this method is proving to be very inefficient. My question regarding the blob detection are:
- Is there any blob detection technique for python opencv? Or it could be done with cv2.findContours? I'm working on raspberry pi so could anyone suggest how to get blob library on debian linux?
- Even if there is, how could i get a unique ID for each blob? Is there any algorithm to provide tagging of UNIQUE ID's? If there's any better method to do this, kindly suggest an algorithm. Thanks in advance.