We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Face Detect (Mac) (Read 1066 times)
Face Detect (Mac)
May 14th, 2008, 9:53am
 
hello,

im trying to get Face Detect library working on a intel macbook pro, running leopard.

im getting this error when running the sketch:
Invalid memory access of location 00200000 eip=0165bd0a

if anyone has an solution or a work around for this please give me a shout, it would be immensely appreciated.

thx.

Re: Face Detect (Mac)
Reply #1 - May 19th, 2008, 12:18pm
 
Make sure the haarcascade_frontalface_default.xml is in the root of your boot disk and OpenCV.framework in /Library/Frameworks/

Re: Face Detect (Mac)
Reply #2 - May 20th, 2008, 2:16am
 
yeh ive made sure that was the case but still no joy.

any other suggestions?
Re: Face Detect (Mac)
Reply #3 - May 20th, 2008, 2:29am
 
Can you check with "fseventer" if no files are missing when you start the sketch ?

There is a Leopard compatible version here

http://www.fernlightning.com/doku.php?id=software:fseventer:start
Re: Face Detect (Mac)
Reply #4 - Aug 7th, 2008, 8:40pm
 
You did not use the private framework, by accident?

Here is how I got it working on my machine (MacbookPro w/ Leopard):

1) Dowloaded the pre-compiled framework from http://homepage.mac.com/taweili/OpenCV.framework.zip

2) Unzip and put the framework into ~/Library/Frameworks (you might want to try to avoid putting stuff that is not needed system-wide into /Library and absolutely should not put anything into /System/Library except for kernel extensions and such)

3) Download the Face Detect library (http://tokage.cafe24.com/facedetect05.zip)

4) Unzip and put the contained FaceDetect folder into the folder where your processing libraries are located, e. g. ~/Documents/Processing/library.

5) Put the contained data folder into your sketch folder.

5a) You might want to restart processing afterwards.

6) Run your sketch Smiley
Page Index Toggle Pages: 1