(Appology in advance if I am asking a too nwbie question. I am a beginner with OpenCV. I have done some tutorials yet I have not a good grasp of it's concepts.)
Question: How to do head detection (not face detection) using OpenCV - For example in a photo of inside a bus or a room?
Note: I do not want to do face detection; just head detection to figure out number of people in the photo. Unfortunately - for me - those tutorials and documents that I'v found are about face detection and not head detection.
Thank you
Look at all the Haar boosted classifiers that are available with OpenCV and the dedicated class CascadeClassifier
to use it. Here are a list of what the classifiers have locally:
The two I bolded may be of special interest to you. Try those as a start for your project. As Alessandro Vermeulen commented, head detection classifiers may also be interesting, as what they find is usely connected to shoulders :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With