human detection from still camera
Dear all,
I need to detect human silhouettes in a sequence provided by video-surveillance camera. The first step of my algorithm is motion detection based on background subtraction. I am done with this and I obtain a binary mask containing the object of interest and some noise. I want to detect the object of interest (the human silhouette) and track it (the final objective is to detect falls). For this end, I need to detect the blobs from the binary mask and find the largest in area and access its pixels (in order to perform further analysis on its texture). Shall I use contours detection function of OpenCV or simpleBlobDetector. I have tried the latter but it seems that it only return key-points (the centers of each blob) and I can't get access to the blob pixels. Please, can you give me your opinion regarding this topic and the class SimpleBlobDetector ?
Thanks for your answers.
Thanks Steven for your answer. This raises the question when shall we use SimpleBlobDetector over FindContours ?
Thanks Steven. What I actually want to achieve is to be able to deal with the detected contours as blobs in order to process the pixels (of the whole area inside the contour). Let's say for instance tha I want to track a person based on the colors of his/her clothes, I will need the pixels that are contained inside the contour. Do you have an idea on how to do that ?
Ok. I came to the same conclusion. Thanks a lot for your help.