Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Computer vision is a demanding area - and while it is true that you'd best stay with what you know, and move to opencv only if performance is needed, another truth is that you'll need to go deep into mathematics, pointers and algorithms to learn and build a good computer vision app. And to do that in Java can be more cumbersome than learning c++.</p> <p>So, if all you want to do is to apply a filter over an image for some school project - go for Java. But if you want to stay more with OpenCV, to learn vision algorithms or to write your own, my strong suggestion is to learn C++ - isn't that scary!</p> <p>A reason to write native code is flexibility - you'll want to do all kind of tricks that are difficult or performance-killers in Java.</p> <p>Shortly speaking, learning C++ is much simpler than computer vision. And OpenCV is not just a library you want to call to do some processing out there. It's bleeding edge technology - you'll want to understand it, to hack into it, to build over it, to go through the code, much more than call someJNIfunc();</p> <p>And if you do so, please be aware that OpenCV offers two interfaces - one for C and one for C++. And while they offer the same functionality, the C++ one is much like Java - with automatic memory management and more sweeties. You can refer to <a href="https://stackoverflow.com/questions/8585852/in-an-opencv-application-how-do-i-identify-the-source-of-memory-leak-and-fix-it/8591335#8591335">this</a> post to see the differences</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload