Ask Your Question

Why isn't the OpenCV java libraries available via maven?

asked 2014-03-31 13:48:19 -0500

levicampbell gravatar image

updated 2014-03-31 13:54:30 -0500

berak gravatar image

One of the things I look for when I'm evaluating a java library, is whether or not maven artifacts are available. I noticed that OpenCV makes you download and compile the source code. WHy is that?

edit retag flag offensive close merge delete



you're probably the 1st one to come up with that idea here

berak gravatar imageberak ( 2014-03-31 13:55:07 -0500 )edit

bear with me for not knowing much about maven, but again, opencv-XXX.jar is only half of the story.

you'd need the opencv dll/so's compiled for any platform you can think of as well.

what's your idea on that ? also, dependancies ? ffmpeg, the like ?

continous integration from github src ?

berak gravatar imageberak ( 2014-03-31 14:25:07 -0500 )edit

@berak I don't know about ant, but in maven there is a way to add native library dependencies

levicampbell gravatar imagelevicampbell ( 2014-03-31 14:36:20 -0500 )edit

honestly, you probably know more about java package managing than i do.

berak gravatar imageberak ( 2014-03-31 14:41:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-20 22:36:35 -0500

We have an open ticket about this feature:

I have a sample project that shows how to use OpenCV through Maven: (Notice: it requires adding a custom repository, so I would really like to see OpenCV supporting it instead of having to add another repository)

edit flag offensive delete link more



how do you plan to solve the 'native binaries' problem ? 2 github branches x 3 os'es x 32/64bit that's 12 different versions to manage. also, opencv's codebase is changing rapidly, so you'd want to update this once a week.

what's your idea here ?

berak gravatar imageberak ( 2014-10-21 02:23:50 -0500 )edit

My idea is really to put this in the build process of OpenCV. Binaries should be generated with their version control. Could you please add another request for it in the issue thread ( Maybe if enough people comment, there could be more attention from OpenCV people.

Daniel Baggio gravatar imageDaniel Baggio ( 2014-11-12 17:19:24 -0500 )edit

hi Daniel,

PR == pull request

unfortunately, i got not much information about the build/deploy process for binaries, (think of the (win) sourceforge packages or the prebuild android sdk), but taking a look at the buildbot used for testing might be a start.

if you look at the comments on the issues page, the common answer is: yes, good idea, but it's up to you to act now, and develop that.

berak gravatar imageberak ( 2014-11-13 02:50:17 -0500 )edit

Question Tools


Asked: 2014-03-31 13:48:19 -0500

Seen: 12,511 times

Last updated: Oct 20 '14