1 | initial version |
This is not Opencv way to do it ?!
bool = Highgui.imwrite(filename, Mat);
2 | No.2 Revision |
This is not Opencv way to do it ?!
bool = Highgui.imwrite(filename, Mat);
checkFrame);
3 | No.3 Revision |
This is not Opencv way to do it ?!
bool Mat onCameraFrame(CvCameraViewFrame inputFrame) {
Rgba = Highgui.imwrite(filename, checkFrame);
inputFrame.rgba();
.
. Do your work
.
return Rgba;
}
And
<org.opencv.android.JavaCameraView
android:layout_width="0dp"
android:layout_height="0dp"
android:adjustViewBounds="true"
android:gravity="center_vertical"
android:id="@+id/java_surface_view" />
in your layout