Trying to detect blue color from image using opencv, and getting unexpected result
I am new to OpenCV4Android. Here is some code I wrote to detect blue colored blob in an image. Among the following images, image 1 was in my laptop. I run the application and the frame captured by the OpenCV camera is image 2. You can look at the code to see what the rest of the images are. (As you can see in the code, all the images are saved in the SD card.) I have the following questions: . Why hass the color of the light-blue blob turned out to be light-yellow in the rgba frame captured by the camera (shown in image 2). I created a boundingRect around the largest blue colored blob, but