Passengers counting in car using opencv
Hi All,
I'm working on a project where a camera is installed and a pic is taken after the door is closed. So i need to identify the number of people seated in the car using the image captured. Is there any already trained models i could use to achieve this? Should i go for face detection to count the number of people or human detection? what should be the right approach?
You most likely want to use a cnn for this. Search for a pretrained model for detecting person and cars. Then use the dnn module of opencv to evaluate the model. There a lot of tutorials out there.
@Huma. Where will you camera in vehicle(depending on vehicle)?
Hah! - good question - on this your model selection depends.
I was going to ask him where will he puts camera. As you noticed driver seat and front passenger seat both have on headrests too. It is too dark inside vehicle or not.