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
OpenCV and WinXP? (Read 1205 times)
OpenCV and WinXP?
May 17th, 2009, 4:33am
 
Hi,
I searched 1 1/2 hours for an answer but nothing worked...

I want to use OpenCV in Processing on a Windows XP PC (SP2).
I followed the instructions here: ubaa.net/shared/processing/opencv/ .
I installed it, copied the library to the processing libraries and i also copied the dll´s into the system32 folder. Even the dll´s of 1.1pre1 version. But I still get the message "UnsatisfiedLinkError" if I want to start one of the examples.

Can anybody help me to make this work?

Thanks a lot,
Anna
Re: OpenCV and WinXP?
Reply #1 - May 17th, 2009, 8:36pm
 
I hope this will help.

I have windows vista
I did what you did but nothing worked with openCV's processing examples. On the other hand, once I inserted that line into system path variable all openCV examples that come with opencv under the opencv install (in program files) worked.

I then downloaded opencv 1.1 and installed it. The processing examples worked after that.

I must have read through the posts you did too and I got one feeling that windows processing library 1.0 for openCV only works on openCV 1.1


Good luck.

Re: OpenCV and WinXP?
Reply #2 - May 18th, 2009, 4:02am
 
Hi,
thanks for the help, but it didn´t work....
I use WinXP and there´s still the failure.

Do you use Processing 1.03 or 0135?

In Processing 1.03 are the problems of my first comment. But I tried 0135 (that is not longer available in a official way...) and there is one failure left: he can´t find the dll or the dll is wrong installed. But it is at the place it should be.

AND i tried everytrhing of the other topic (OpenCV library installation problems). Nothing works.

Thanks anyway,
Anna
Re: OpenCV and WinXP?
Reply #3 - May 18th, 2009, 11:42am
 
I use processing 1.03.
I also tried the following on my xp machine and it worked:
Install opencv 1.1pre on xp machine and interesting enough the line regarding path didn't get added to the system path. I had to do it by hand after restarting.
Then I unzipped the opencv processing library under the libraries folder in processing, and unzipped the examples in the examples folder.

Now could you try the following?
Go into your program files folder and find opencv. There is a folder sample/c/ where a few .exe example files are located. Run facedetect.exe. If you have a proper install of opencv and correct system path, this program will run.
Good luck.

By the way, I was shooting for high fps for motion analysis on the fly. I found the old video capture with quicktime is fast (~30fps on my pentium-D) but always gives me duplicate frames even I check frame.available().
With opencv I can only get ~16fps and the interval between frames varies quite a bit from say 60ms to 100ms sometimes.
Re: OpenCV and WinXP?
Reply #4 - May 22nd, 2009, 12:56pm
 
Thanks a lot for the things you did, but it still doesn´t work on my PCs.. One last question: Do you have SP2 or SP3 and do you have the Microsoft Visual C++ installes (or something like this)?

I made a face detection work with the following page:
bryanchung.net/?page_id=251
I think it`s based on OpenCV and JMyron. It works on my PC (WinXP) but not on a friends PC with VIsta, but we are working on that.

Thanks a lot again.
I think OpenCV has some Hardware Problems. On some PCs it works and on another with the same installation (including the version of the library and Dlls) it doesn`t.

Regards,
Anna
Page Index Toggle Pages: 1