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.
65Updated 3 years ago

Related projects

Alternatives and complementary repositories for How-to-find-if-an-image-is-bright-or-dark