/python-pixel-checker

You can check pixel value(BGR, HSV, etc.) on the image.

Primary LanguagePythonMIT LicenseMIT

opencv-pixel-picker

You can check pixel value(BGR, HSV, etc.) on the image.
Also you can add other color spaces by yourself.
It must use GUI.

Requirements

  • Python3
  • Tkinter
  • OpenCV or Pillow

Knowledge

OpenCV and Pillow have different value range in the specific color space.

OpenCV Pillow
RGB [0, 0, 0] ~ [255, 255, 255] [0, 0, 0] ~ [255, 255, 255]
HSV [0, 0, 0] ~ [179, 255, 255] [0, 0, 0] ~ [255, 255, 255]

Run

python opencv_pixel_checker.py or python pillow_pixel_checker.py

You can check pixel value on the image by mouse left click.
Then, you can close the window by pressing enter key.

Screenshot

  • opencv-pixel-checker example1
  • pillow-pixel-checker example2