Ask Your Question

luckyqiqi's profile - activity

2014-04-24 09:46:36 -0600 received badge  Critic (source)
2014-04-24 09:46:32 -0600 received badge  Supporter (source)
2014-04-23 20:35:40 -0600 received badge  Scholar (source)
2014-04-23 20:34:27 -0600 commented answer Colour recognition after an image is captured

you're right, lpb. I'm working on the prominent colors and the result should output some string after dominant color is recognized among red, green and blue. I'm trying to understand and working around on Histogram calculation. Before that, the image was captured by camera and I retrieved it as bitmap, so am I right that I have to convert it to mat in order to proceed histogram calculation?

2014-04-23 08:27:53 -0600 received badge  Organizer (source)
2014-04-23 08:22:12 -0600 asked a question 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)?