项目作者: DahlitzFlorian

项目描述 :
Change a pictures colors using cli
高级语言: Python
项目地址: git://github.com/DahlitzFlorian/python-color-changer.git
创建时间: 2018-03-24T21:23:46Z
项目社区:https://github.com/DahlitzFlorian/python-color-changer

开源协议:MIT License

下载


Python Color Changer

Build Status

Description

This lightweight color-changer allows you to change the colors

of a given picture and creates a new file of it.

version 1.0.5

Installation

You can install it from source or using pip

  1. $ pip install color-changer

Make sure you have OpenCV installed and named cv2 as usual.
Here
you can find an article on how to set it up on OSX with Python3. The other dependencies are installed automatically.

Available Arguments

Short Long Values
-i —image path to image
-c —changer red-green or gree-blue or blue-red
-r —result new image name

Examples

  1. $ python -m colorchanger.colorchanger -i image.jpg
  2. $ python -m colorchanger.colorchanger -i image.png -c red-green