Merge pull request #2542 from asmorkalov:android_javacam_cvtcolor_fix

This commit is contained in:
Roman Donchenko 2014-03-28 12:45:39 +04:00 committed by OpenCV Buildbot
commit 0469c18726

View File

@ -288,7 +288,7 @@ public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallb
}
public Mat rgba() {
Imgproc.cvtColor(mYuvFrameData, mRgba, Imgproc.COLOR_YUV2BGR_NV12, 4);
Imgproc.cvtColor(mYuvFrameData, mRgba, Imgproc.COLOR_YUV2RGBA_NV21, 4);
return mRgba;
}