From: Andrey Pavlenko Date: Fri, 1 Jul 2011 11:12:55 +0000 (+0000) Subject: #863: sample text color changed from Green to Red. X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~6786 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7a3fc5d4ed374bf80e79eb42c4f7b3ddc909aaa;p=platform%2Fupstream%2Fopencv.git #863: sample text color changed from Green to Red. --- diff --git a/samples/android/1-java/src/org/opencv/samples/s1/Sample1View.java b/samples/android/1-java/src/org/opencv/samples/s1/Sample1View.java index 5350940..26fb6cd 100644 --- a/samples/android/1-java/src/org/opencv/samples/s1/Sample1View.java +++ b/samples/android/1-java/src/org/opencv/samples/s1/Sample1View.java @@ -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);