Ask Your Question
1

Allied Vision VIMBA SDK and OpenCV (JAVA)

asked 2016-10-10 04:15:59 -0500

Tauhid gravatar image

updated 2016-10-10 05:16:24 -0500

Allied Vision Vimba SDK only provide API support for C,C++ and .NET but my client want me to code in JAVA. From their website i came to know that it can be easily used with third party image-processing libraries. OpenCV is also in that list.

Can anyone help me to connect Vimba SDk with OpenCV in JAVA ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-12-12 08:19:12 -0500

PiMac gravatar image

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.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2016-10-10 04:15:59 -0500

Seen: 343 times

Last updated: Dec 12 '16