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.
IndexProgramming Questions & HelpOther Libraries › Open Cv Face Tracking Memory Issues
Page Index Toggle Pages: 1
Open Cv Face Tracking Memory Issues (Read 1837 times)
Open Cv Face Tracking Memory Issues
Mar 20th, 2008, 12:09pm
 
Hello General Processing Brains,

I was hoping someone might be able to point me in the right direction about the following problem...

I'm trying to get the Face Detection Library working,  as provided by Jaegon Lee, through this site.

I'm running Intel Mac (OSX 10.4.11), and have successfully installed the OpenCV framework (I hope).  But when I open and run the provided example I get a memory error, and the Applet crashes.  It output's something like:

FaceDetect 0.2a
Invalid memory access of location 6d657473 eip=90a59398

So it seems to be happily returning the version, and therefore initializing.   A little more playing around revealed that the error seems to appear when trying to run the actual detection method (Faces = fd.detect();)

Also, to further confound things I can compile and run the Face Detection OpenCV Xcode project and get successful results: http://www.vimeo.com/688095

Any ideas on where to go next,  (or advice to just drop it) would be appreciated.  Thanks In Advance.  Dan.
Re: Open Cv Face Tracking Memory Issues
Reply #1 - Apr 9th, 2008, 1:09am
 
I have the same issue, including the memory location.

Invalid memory access of location 69670000 eip=90a5a092

I seem to remember somebody did get it to work. Did you try the PC version? Seems a little better documented, I'll give it a try for sure.

BTW, is the low framerate in your video real or just from the video capture software? Because it seems pretty laggy.
Re: Open Cv Face Tracking Memory Issues
Reply #2 - Apr 9th, 2008, 3:13pm
 
I've been speaking with someone recently about their working version of the Face Detect plugin.  They sent over their working version,  which failed to run again on my mac.

The only difference we can see is the version of the OS.  Both the Face Detect example (cunningly gleaned from the image) and their example both ran in 10.5,  but I'm running 10.4.

What about yourself?
Re: Open Cv Face Tracking Memory Issues
Reply #3 - May 3rd, 2008, 10:35am
 
take a look on the example here who work on facedetection library on processing.
http://www.bryanchung.net/?page_id=251
Page Index Toggle Pages: 1