Friday, 20 March 2015

OpenCV Java Sample with Netbeans

Related to this doc. How to use it in Netbeans?

Create Java Application



Enter Name and click Finish

As result

Right click on Libraries -> Add Jar/Folder, locate opencv jar and click Open

And also copy the native library (libopencv_java300.so in my case) to the lib folder

 Invoke project properties, and specivy VM Options on Run section as below

Add some code

 And press Run button, as result you can see following output

3 comments:

  1. Hello, i want source code, please sent to truongtungduong9x@gmail.com
    Thank you !

    ReplyDelete
  2. please send me source code to anilkumar2681@gmail.com

    ReplyDelete
  3. Bro i am not able to load native lib.Can you share the files.

    ReplyDelete