Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I am working on a similar thing right now.

I think it is as simple (or as difficult) as:

  1. Use c++ example to open the camera and add any other functionality that you need to have.
  2. This is the intresting part - use JNI to create a wrapper for your c++ code. I am not sure though how to get the image from sdk to java? Can it be done with sending image as byte[] from c++ to java, then transforming it into Mat object in java? Can anyone help with this part?

I hope it gave you some idea on gow to do it.