Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Running tha Android OCV on my PC

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

click to hide/show revision 2
No.2 Revision

Running tha Android OCV the OpenCV4Android application on my PC

Hi, Hi,

I built an Android project containing openCV. 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 OpenCV object and run this on my PC it has all sorts of compilation problems. for problems. For example: I tried tried

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

}

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