Can somebody explain me how to use snake algorithm in opencv 2.4.9

asked 2015-02-20 23:26:12 -0500

msiraj83 gravatar image

updated 2015-02-21 11:06:54 -0500

theodore gravatar image

Hi every one.. i am new to opencv.. i want to detect the face using cvsnakeImage algorithm. i know that this is avalible in legacy code. How can i use this function in opencv2.4.9 version using c++.. IF there is any alternative of this algorithm then please help me...

edit retag flag offensive close merge delete



"i want to detect the face using cvsnakeImage algorithm" - how would that work ? it's just a concave hull / line fitting algo.

berak gravatar imageberak ( 2015-02-21 01:20:42 -0500 )edit

Like @berak said, there is a reason why not a single researcher out there uses snakes for face detection ... why not use the cascade classifier system introduced by Viola and Jones who use it for robust face detection and which is completely integrated in OpenCV?

StevenPuttemans gravatar imageStevenPuttemans ( 2015-02-23 06:34:49 -0500 )edit

well i have used the cascade classifier but its not working properly once a person moving her head,the classifier cannot detect the face .Did you get your answer anywhere?

monaaa gravatar imagemonaaa ( 2015-06-19 11:47:22 -0500 )edit