imneonizer / How-to-find-if-an-image-is-bright-or-dark

Input image is resized to 10x10 pixel, to reduce the computation, Convert it to LAB color space to access the luminous channel which is independent of colors, Normalize pixel values to be in range of 0 - 1. Compare the mean value of pixels with a threshold value.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imneonizer/How-to-find-if-an-image-is-bright-or-dark Stargazers