mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Fixed android samples; fixed cmake files
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
package org.opencv.samples.tutorial1;
|
||||
|
||||
import org.opencv.android;
|
||||
import org.opencv.Android;
|
||||
import org.opencv.core.Core;
|
||||
import org.opencv.core.Mat;
|
||||
import org.opencv.core.Point;
|
||||
@@ -56,7 +56,7 @@ class Sample1View extends SampleViewBase {
|
||||
|
||||
Bitmap bmp = Bitmap.createBitmap(getFrameWidth(), getFrameHeight(), Bitmap.Config.ARGB_8888);
|
||||
|
||||
if (android.MatToBitmap(mRgba, bmp))
|
||||
if (Android.MatToBitmap(mRgba, bmp))
|
||||
return bmp;
|
||||
|
||||
bmp.recycle();
|
||||
@@ -84,4 +84,4 @@ class Sample1View extends SampleViewBase {
|
||||
mIntermediateMat = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user