Ask Your Question

Java OpenCV Tutorials?

asked 2014-02-13 02:05:20 -0500

clytemnestra gravatar image

updated 2014-02-25 14:22:47 -0500

Rui Marques gravatar image

How to get started in java if all the tutorials are for c++?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2014-02-13 14:09:30 -0500

Will Stewart gravatar image

updated 2014-02-17 07:29:26 -0500

There is an Introduction to Java in the tutorials that will guide you in not only a basic understanding, but even as far as creating a functioning face detection application as an example of OpenCV's capabilities;

There is a more detailed introduction if you want to use Eclipse;

And then there is the Java API Reference that provides the JavaDoc;

Not every single feature of OpenCV is found in Java yet, but the list is constantly growing, and the amount of features available already is truly staggering.

When you download and install OpenCV, you'll find Java sample programs under the Samples directory.

edit flag offensive delete link more

answered 2014-02-25 14:19:31 -0500

Rui Marques gravatar image

You have to be aware that opencv Android is older than the pure Java version, so there are more samples for Android and the syntax is exactly the same. The differences are on where your images/video come from and where they go to.

As you can imagine Android has API regarding dealing with the camera, while a desktop will have multiple ways to do that.

Besides the samples contained inside the opencv Android package, you can find some more samples here:

These are full eclipse projects which depend from Opencv 2.4.8 (not tested with other versions). They follow the same structure as Android Tutorial 1.

edit flag offensive delete link more

answered 2014-02-17 05:09:22 -0500


there's one book coming from PacktPub as well, probably in a couple months.

Kind regards, Daniel

edit flag offensive delete link more


Has book released?

Govind Mali gravatar imageGovind Mali ( 2015-01-01 23:35:11 -0500 )edit

Yes, it has. Please check:

Daniel Baggio gravatar imageDaniel Baggio ( 2016-06-22 10:51:15 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-02-13 02:05:20 -0500

Seen: 452 times

Last updated: Feb 25 '14