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
Post a Comment