tsdconseil / opencv-demonstrator

OpenCV demonstrator (GUI)
http://www.tsdconseil.fr/log/opencv/demo/index-en.html
GNU Lesser General Public License v3.0
141 stars 57 forks source link

Fix the eye detection demo #24

Closed juliena82 closed 8 years ago

juliena82 commented 8 years ago

The eye detection demo do not work anymore since the downsizing of its input image.

applemuncy commented 8 years ago

I hope my latest commit has fixed this.

By the way, eye and face detection work with my webcam now : )

juliena82 commented 8 years ago

Good job! The "output.nout = 0" was an error introduced when I changed the demo item API. Note that by default, output.nout = 1 (because most démos have only one output image), so the faulty line can be simply removed.

Unfortunately, the original bug is still present: eyes are still not detected on the default image. But as it appears to work with your webcam, maybe it is just a configuration problem... I will look at it tomorrow. Anyway, even if not this one, you fixed a real bug ;)

applemuncy commented 8 years ago

I changed the eye cascade demo to use the default image.