This script use matplotlib and skimage for detect chromossomes in a image.
1- Leave only the chromossomes in image.
2- Inverted the colors.
3- In exposure, decrease the offset.
python cromo_count.py and input the image name with the file type (jpg, png, gif...).
The output is not accurate. The script miss on average 4 chromosomes.