Select to view content in your preferred language

ArcGIS Runtime SDK for Java AND OpenCV

3617
4
12-02-2015 11:37 AM
MohammdrezaFaraji
Deactivated User

I just started using ArcGIS SDK for Java. I would like to use opencv library in my projects. I can add the library when I create an ArcGIS Runtime application project, but my eclipse does not reconigze the library later in my codes. Does that mean ArcGIS does not support opencv or I am missing something?

0 Kudos
4 Replies
EricBader
Honored Contributor

Not necessarily.

While it is true that ArcGIS Runtime APIs know nothing about OpenCV libraries, a lot depends on what your code is actually trying to do. Can you share a bit more about the problem? How is OpenCV being used in your Java application? How have you configured your Eclipse environment with OpenCV?

0 Kudos
MohammdrezaFaraji
Deactivated User

Eric,
Thanks for the reply. Yes, my Eclipse works fine with OpenCV. This link (http://docs.opencv.org/2.4/doc/tutorials/introduction/java_eclipse/java_eclipse.html) explains how to setup OpenCV in Eclipse. When I create a java application, it recognizes openCV library, but when I create an ArcGIS SDK application, it doesn't.
I like to use opencv for  its computer vision functions and tools.
It provides function to detect/extract/match features in images and affine/projective tranformation (which I need to use).

0 Kudos
EricBader
Honored Contributor

In Eclipse, is the opencv library, which is reference by your Eclipse project, being exported when your app is created?

MohammdrezaFaraji
Deactivated User

Interesting! I remember I did this, but apparently it's not been correctly added.
I just created a new project and OpenCV successfully got added. Hopefully it won't make any problem later.
Thanks Eric!

0 Kudos