Ask Your Question
1

Running the OpenCV4Android application on my PC

asked 2012-09-24 06:57:56 -0600

om201 gravatar image

updated 2012-09-25 05:48:01 -0600

Kirill Kornyakov gravatar image

Hi,

I built an Android project containing OpenCV. It runs fine on my Android machine. But now I would like to add a regular java class (non android) to my project and run it on my PC.

Problem is - if i try to instantiate any OpenCV object and run this on my PC it has all sorts of compilation problems. For example: I tried

public static void main(Strin args[]) {
  Mat a = new Mat();
}

Is this even possible to do this? If so, how? Thanks, Ofri

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
3

answered 2012-09-25 05:46:39 -0600

Kirill Kornyakov gravatar image

updated 2012-09-25 06:39:23 -0600

OpenCV Java API is not available for desktop at the moment. Check this question for more details http://answers.opencv.org/question/2137 .

edit flag offensive delete link more
1

answered 2012-12-14 03:58:04 -0600

V.G. gravatar image

If you believe, that this issue has been resolved, could you please accept the most appropriate answer (even if it's your own one) and close this question. It would greatly improve navigation and overall experience with OpenCV Q&A.

Thanks.

edit flag offensive delete link more

Comments

I agree to you, but why this forum doesn't have "accept rate" like stack overflow it may be the cause.

Haris gravatar imageHaris ( 2012-12-18 08:01:00 -0600 )edit

Ok, this "forum" is much more local, than StackOverflow and most people, who give answers here are somehow related to OpenCV development, so they aren't paid to watch and moderate these pages all day long. Mutual respect is one of the key factors for most open source communities out there — I'm trying to notify people about that one more time.

V.G. gravatar imageV.G. ( 2012-12-18 08:29:18 -0600 )edit
1

answered 2013-04-22 07:00:49 -0600

Andrey Pavlenko gravatar image

Things are moving forward! Now Java API is available on desktops, see the tutoral at http://docs.opencv.org/trunk/doc/tutorials/introduction/desktop_java/java_dev_intro.html

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-24 06:57:56 -0600

Seen: 489 times

Last updated: Apr 22 '13