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.
Index › OpenCV not working on Windows!
 Pages: 1
 OpenCV not working on Windows! (Read 5040 times)
 HHH OpenCV not working on Windows! Apr 29th, 2010, 1:16am   HiI can't get openCV to work on Windows, my friends are having the same problems on Windows PCs. I followed the exact instructions on their website, but I still can't get it to work. I tried the latest version as well as the old version, but I keep getting errors when I try to run sample code from their website.Is anyone else experiencing the problem? Please help me solve it.Thanks a lot.
 PhiLho Re: OpenCV not working on Windows! Reply #1 - Apr 29th, 2010, 4:58am   HHH wrote on Apr 29th, 2010, 1:16am:I keep getting errors when I try to run sample code from their website. We are not psychic, so maybe you should show the kind of error you get...Although perhaps I am a bit psychic, after all... Is the error about RectangleLook at cannot find a class or type named "rectangle" (and some other similar threads...).
 HHH Re: OpenCV not working on Windows! Reply #2 - Apr 29th, 2010, 5:07am   HiWhen I try the following code: Code:`import hypermedia.video.*;OpenCV opencv;void setup() { size( 320, 240 ); opencv = new OpenCV(this); opencv.capture( width, height ); opencv.cascade( OpenCV.CASCADE_FRONTALFACE_ALT ); // load the FRONTALFACE description file}void draw() { opencv.read(); image( opencv.image(), 0, 0 ); // detect anything ressembling a FRONTALFACE Rectangle[] faces = opencv.detect(); // draw detected face area(s) noFill(); stroke(255,0,0); for( int i=0; i
 HHH Re: OpenCV not working on Windows! Reply #3 - Apr 29th, 2010, 6:51am   I finally managed to get it working.It seems that the setup application did not actually update the system PATH. So I did that manually. I also used version 1 [not 2] of openCV. I now hope it works with my other PC.Thanks for helping.
 slawert Re: OpenCV not working on Windows! Reply #4 - Jun 17th, 2010, 11:04am   Hi!I think i have the same problem that HHH, but i can't solve it.I installed opencv1.0 on windows, I configure the path to the bin directory, i moved the openCV.dll, openCV.so, openCV.jnilib to the bin directory and i have on my building path the library openCV.jar.The error is shown when i instantiate a new OpenCV object ( cv = new OpenCV(); ) and the error is:!!! required library not found : no OpenCV in java.library.pathVerify that the java.library.path property is correctly set and the '\path\to\OpenCV\bin' exists in your system PATHI'm totally novice on this technology. Can anyone help me?Thanks.
 Pages: 1