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.
Pages: 1 2 3 
OpenCV library in Processing? (Read 25877 times)
Re: OpenCV library in Processing?
Reply #30 - Oct 2nd, 2009, 5:38am
 
instead of image() to draw, you could use set(); it draws faster than image. if it's just an unchanged image from the camera.

set(0,0,opencv.image()); // draws faster than image() if the image is unchanged.

now I saw that you inverted it before, but try it. and see if it's goes faster. Cheesy
Re: OpenCV library in Processing?
Reply #31 - Oct 9th, 2009, 5:08pm
 
Is there anyway to:
1) Check the camera availability,
   I know some peaple do it with the inclueded video lib. but I won't QT
2) Get the native resolution of the camera
3) Access the camera settings
4) get camera(s) list

THX

Re: OpenCV library in Processing?
Reply #32 - Nov 2nd, 2009, 6:47am
 
Under os X 10.6:

Sketch work well when run it.

Exported Application dosn't work.
I 've got a: "libOpenCV.jnilib: no matching architecture in universal wrapper"

Has anyone got a solution?
Re: OpenCV library in Processing?
Reply #33 - Dec 18th, 2009, 9:53pm
 
Wow, the library linked at:
http://ubaa.net/shared/processing/opencv/
really did the trick for me.

Helpful installation trick:
If you downloaded the newest version of opencv (I did by default), then you need to copy / rename some files. Go to the /bin folder of your OpenCV install, and copy / rename the following files:

lib*200.dll
->
*100.dll

(That is, get rid of the "lib" prefix and change 200s to 100s. The filenames changed because of a new version, but the libraries are apparently backwards compatible.)

Happy camming.
Re: OpenCV library in Processing?
Reply #34 - Dec 26th, 2009, 10:19am
 
I am working with processing tts library and eliza library to build a humaniod robot I have to interface opencv also with processing, I tried to ubaa.net/ but it don't works, I don't know why...proc can't find the library ( i installed it correctly in the libraries processing folder
can you help me?
Pages: 1 2 3