Friday, 13 December 2013

JavaCV Tutorial 5 -Contour Filtering




In this tutorial I've briefly explained the contour detection and filtering operations in opencv-javacv. The filtering operation is based on the maximum area of the contour detected.

Source Codes:  " https://drive.google.com/file/d/0Bxr1St4kFOnQV1ozWkNQbzh0TXM/edit?usp=sharing "

7 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Wow Wow thanx Manoj Manu this tutorial was helpful for me
    thanx very much u are the best.......
    but can u help me to find motion detection using javaCV or using any algorithm of image similarity measurement

    ReplyDelete
  3. Yep Motion detection is possible in many ways , I'll be posting some more videos about these topics very soon. :)

    ReplyDelete
  4. Hello Manoj. Your tutorials are awesome.. But there are places where a little more details would have been helpful. eg, you seem to always import all the files ( i don't know if all of them are required) .. I would like to customize that part.
    Can you tell me if there is any resource/documentation of javacv where I can learn it in depth.

    ReplyDelete
    Replies
    1. About the import stuffs, I will add all of the files because I 'll be experimenting sometimes and some methods in javacv would use those import files. You can just remove some unused imports in the Eclipse-IDE itself after completing your project.
      And regarding the materials or any documentation regarding javacv I cant find a proper one. I often refer to the javacv homepage for some new stuffs and I would refer the opencv stuffs to create a javacv code. :)

      Delete
  5. Hello Manoj. How can video conferencing using javacv( using RTP Stream).

    ReplyDelete
  6. Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\Administrator\AppData\Local\Temp\javacpp101082910621084\jniopencv_core.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
    at java.lang.Runtime.load0(Runtime.java:809)
    at java.lang.System.load(System.java:1086)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:566)
    at com.googlecode.javacpp.Loader.load(Loader.java:489)
    at com.googlecode.javacpp.Loader.load(Loader.java:431)
    at com.googlecode.javacv.cpp.opencv_core.(opencv_core.java:136)
    at javacv.JavaCv5.main(JavaCv5.java:22)
    Caused by: java.lang.UnsatisfiedLinkError: no opencv_core245 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593)
    at com.googlecode.javacpp.Loader.load(Loader.java:481)
    ... 3 more

    ReplyDelete