Python-Image Distinguish(white and black)

The project is used to distinguish every pixels between color difference of white and black from a picture. Moveover, it can calculate the percentage of the white and the black from it.

Usage

-a          :Takes all of pictures from the same directory with the project to distinguish.
-n [picture]:Takes the picture ofselected to distinguish.

example:
$ python ImageDistinguish.py -a
$ python ImageDistinguish.py -n xxx.jpg