razibmimran / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Help. I try to convert the opencv Mat to javacv CvMat. #343

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am writing an app on Android with Opencv.
In the callback function onCameraFrame(CvCameraViewFrame inputFrame) from 
opencv, I want to use Javacv methods, but I don't know how to convert a Mat 
object to a CvMat object. Please help me. thanks.

Frank

Original issue reported on code.google.com by power.wf...@gmail.com on 23 Jul 2013 at 7:07

GoogleCodeExporter commented 9 years ago
Why do you need to use CvCameraViewFrame? Does Camera.setPreviewCallback() not 
work on your device?

Original comment by samuel.a...@gmail.com on 2 Aug 2013 at 4:17

GoogleCodeExporter commented 9 years ago
In any case, JavaCV 0.8 now maps the C++ API of OpenCV more closely:
    http://bytedeco.org/release/2014/04/28/first-release.html
So we can use the Mat data type if one wishes :)

Original comment by samuel.a...@gmail.com on 29 Apr 2014 at 12:54