Tool for analyze the image quality
- python-opencv
- matplotlib
$ sudo pip install opencv-python matplotlib
Output format supported: rgb, yuv, hsv, hls
$ ./colorscope.py -i image.jpeg -out_fmt=rgb
R G B
23 24 232
255 255 255
...
Raw input images
$ ./colorscope.py -i image.yuv -pix_fmt=nv21 -s 640x480 -out_fmt=rgb
Measure and plot data
$ ./colorscope.py -i reference.jpeg -out_fmt=hls -o ref.json
$ ./colorscope.py -i capture.jpeg -out_fmt=hls -o cap.json
$ ./colorscope.py -gen ref.json cap.json
