sheybass
sheybass

Reputation: 3

Camera and colour identification

I'm trying to write an app that tells the user any colour placed in the camera preview. A small section of the preview is marked and when that section is pointed at a color. The app tells the user what color that is in real time. I have the camera preview class written but now I just need to know how to go about analysing what the camera sees. Any help will be greatly appreciated.

Upvotes: 0

Views: 130

Answers (1)

WSS
WSS

Reputation: 513

simply get bitmap image at that time and use bitmap.getpixel(int x,int y) to get color.

Upvotes: 1

Related Questions