Reputation: 17
I'm a beginner in openCV4android and I try to make a red color detection with front camera, can you give me the way/step to make it. because this is important for my final project on my campuss..
Upvotes: 1
Views: 756
Reputation: 14053
Here is the step you need to do in short.
Convert BGR image to HSV, as HSV is proffered colour space in color based segmentation.
Use inrange() to segment color.
Here you can find HSV-Color wheel which will help you to select correct HSV range for your color.
Upvotes: 2