Colour recognition after an image is captured
Hello, I'm a beginner on OpenCV. Currently, I'm working on how to recognize object's colour after an image is captured. I have done camera part where an image is successfully captured, then the screen will direct to "discard" and "save". My work should be like this, once i clicked "save", the system should process the image and the result should output the colour of image is "red", "blue", or "green". So, what I should do in protected void onActivityResult(int requestCode, int resultCode, Intent data)?