mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
#863: sample text color changed from Green to Red.
This commit is contained in:
parent
3159bd1a74
commit
c7a3fc5d4e
@ -144,7 +144,7 @@ class Sample1View extends SurfaceView implements SurfaceHolder.Callback, Runnabl
|
||||
break;
|
||||
case Sample1Java.VIEW_MODE_RGBA:
|
||||
imgproc.cvtColor(mYuv, mRgba, imgproc.CV_YUV420i2RGB, 4);
|
||||
core.putText(mRgba, "OpenCV + Android", new Point(10,100), 3/*CV_FONT_HERSHEY_COMPLEX*/, 2, new Scalar(0, 255,0, 255), 3);
|
||||
core.putText(mRgba, "OpenCV + Android", new Point(10,100), 3/*CV_FONT_HERSHEY_COMPLEX*/, 2, new Scalar(255, 0, 0, 255), 3);
|
||||
break;
|
||||
case Sample1Java.VIEW_MODE_CANNY:
|
||||
imgproc.Canny(mGraySubmat, mIntermediateMat, 80, 100);
|
||||
|
Loading…
Reference in New Issue
Block a user