Where can i get trained haarcascade XML file to count human heads?

asked 2018-08-10 08:00:10 -0500

Samjith888 gravatar image

updated 2018-08-10 08:03:39 -0500

I searched for the haarcascade XML file for head detection in 'C:\openCV\sources\data\haarcascades_cuda' , but i can't see such files there..Please help me to find the same.

edit retag flag offensive close merge delete

Comments

LBerger gravatar imageLBerger ( 2018-08-10 08:27:26 -0500 )edit

@Samjith888 are you aware, that there might be no such thing ?

detecting human faces frontal does work. there's also a profile cascae for side views. but detecting human heads "from their back" is stilll science-fiction.

berak gravatar imageberak ( 2018-08-10 09:49:35 -0500 )edit

@berak : I didn't meant to detect human heads from their back side. In my case, the camera is on the roof and it will capture from above the head of humans. Is there any xml file to detect this?

Samjith888 gravatar imageSamjith888 ( 2018-08-11 00:27:02 -0500 )edit

from above the head

also : NO. (it's not feasible, due to lack of features / variation in pose)

there are simply things you can't do with cascade detectors.

berak gravatar imageberak ( 2018-08-11 00:33:31 -0500 )edit

@berak : can u suggest any other method?

Samjith888 gravatar imageSamjith888 ( 2018-08-11 00:36:37 -0500 )edit

maybe (re)train a cnn on it ?

all i'm saying is: there is no pre-made solution here,and it is a difficult case.

berak gravatar imageberak ( 2018-08-11 00:49:42 -0500 )edit

@berak : Okay

Samjith888 gravatar imageSamjith888 ( 2018-08-11 00:52:00 -0500 )edit