项目作者: wangjiosw

项目描述 :
convert images to any opencv support format (bmp, jpg, png...)
高级语言: Python
项目地址: git://github.com/wangjiosw/ImageFormatConversion.git
创建时间: 2018-07-22T08:38:44Z
项目社区:https://github.com/wangjiosw/ImageFormatConversion

开源协议:

下载


Image format conversion

  • convert images to any opencv support format (bmp, jpg, png…)
  • Put the image to be converted in the input folder (you can put images in any format at the same time)
  • The converted image is saved in the output folder

Environment

  • python 2.7
  • opencv

Run

convert images format to png

python img2.py png

convert images format to bmp

python img2.py bmp

convert images format to jpg

python img2.py jpg