Skip navigation

Xavier Hinault recently released a new computer vision library for Processing, based on JavaCV and OpenCV 2: JavacvPro. This is a great contribution to the community, since it appears that the development of the original OpenCV library for Processing has stalled, without moving beyond OpenCV 1.0 support. JavacvPro is based on the very solid JavaCV wrappers by  Samuel Audet, which provide access to the latest version of OpenCV (2.3.1 at the time of writing this), and in fact also allows to use other computer vision frameworks like OpenKinect, and ARToolKit. I did some testing of JavacvPro (version 0.3) on Windows, Mac and Linux, and the results are very promising as I was able to use the library on the three platforms. Xavier has also included many examples in the library package that show how to use it various features.

 The basic requirement to use JavacvPro is to install OpenCV 2.3.1. The installation process depends on the platform, fortunately there are several online resources to figure this out. What I found is the following:

On Windows and Linux, I used the latest stable version of Processing, 1.5.1. However, on MacOSX the library only works with Java in 64-bit mode, which is supported in the latest alphas of Processing 2.0. I tested it on 2.0.a4, changing the “Launch programs in” option to 64-bit in the Preferences menu:

The homepage of JavacvPro also has several videos (in French) demonstrating different use examples, like this one for finger detection:

Advertisement

6 Comments

  1. Hi Andres… have you by chance tested if OpenCV 2.3.1 is backwards compatible with the OpenCV 1.0, and/or the original OpenCV library (and the various blobDetection libraries, jMyron, etc.) ?? Interested to know this, as I have a few sketches that use these, and it might be extremely difficult ro regress…

    Thanks!

    ~ Jesse

  2. Answered my own question… no, the older OpenCV or BlobDetection libraries will not work on 2.0… but will still work on 1.5.1

    • I think that most older computer vision libraries that only depend on general PGraphics functionality without making reference to more specific renderers should work on Processing 2.0

  3. hi Andrés,
    I tested the javaCvPro it’s really promising unlike the openCv for processing from ubaa.net which is stopped in time. I have one question, I didn’t find any way to contact Xavier Hinault he even hasn’t an email on the website nor twitter… have you his contact?

  4. i would like to thank xavier for all his effort to produce javacvpro
    i just request him not to abandon it like the earlier opencv processing library.


2 Trackbacks/Pingbacks

  1. [...] again the libOpenCV.so following several instrucionts. Even with another different library called JavacvPro, but nothing, I always got the the [...]

  2. [...] again the libOpenCV.so following several instrucionts. Even with another different library called JavacvPro, but nothing, I always got the the [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.