android - How To Read Color Value? -



android - How To Read Color Value? -

i want reading color android application. here have developed 1 application, in camera, reading color. want perform action while reading/catching reddish color in camera.

please guide me regarding this.

one of possible solutions that, can color of individual pixel of bitmap using,

bitmap.getpixel(int x, int y)

you should have image bitmap object , should specify x , y co-ordinates of pixel want color.

bear in mind that, checking pixel-by-pixel time consuming , not effective method.

android android-camera

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -