convert images to any opencv support format (bmp, jpg, png...)
python img2.py png
python img2.py bmp
python img2.py jpg