From c7a3fc5d4ed374bf80e79eb42c4f7b3ddc909aaa Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Fri, 1 Jul 2011 11:12:55 +0000 Subject: [PATCH] #863: sample text color changed from Green to Red. --- .../android/1-java/src/org/opencv/samples/s1/Sample1View.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5350940526..26fb6cd6d1 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);