quinta-feira, novembro 18, 2010

Face Detection working on Windows XP

Hi all.
After EI class I spend some time trying to figure out how to make Face Detection work on Windows Vista.
I manage to get things to work, but the face recognition doesn't start. The pictures are shown on the screen, but there is no scroll.

So I tried on Windows XP, and it worked.

I followed these steps:
- Download and install Open CV 1.0 (not 2.0) from here.
- On install make sure you tick «add path...».
- Although the system now has the PATH var defined for current user, you should define for all users (as a system variable).
- Copy libraries for processing to the library dir (unzip opencv_01.zip).
- Copy the xml file «haarcascade_frontalface_alt.xml» from «haarcascades» dir (found it in the Open CV install dir\data) to «data» dir that contains the png images for FaceTracking tutorial.
- Reboot

That's it.

Ian just posted a message on EI forum, and it seems Pedro Camacho found a solution for Vista/7 (I supose). You can find it here.

JC

Sem comentários: