Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

how to convert Mat to jbyteArray ??

$
0
0
I have to return a jbyteArray (I'm using JNI and want a byte[] to return to the Java part). I have a native function in java with return type byte[]. I have an image in Mat and i have to convert it into jbyteArray so as to return it to my java code, and I don't know what it's the best approach.

Viewing all articles
Browse latest Browse all 1117

Latest Images

Trending Articles



Latest Images