1 依赖Required dependencies:
- six
- numpy
- scipy
- scikit-image (
pip install -U scikit-image
) - OpenCV (i.e.
cv2
)
这些之前的文章都有
2 下载并安装imgaug
- Clone the repository.
- From within the repository do:
python setup.py sdist
sudo pip install dist/imgaug-0.1.tar.gz
网站地址https://github.com/aleju/imgaug
git地址:https://github.com/aleju/imgaug.git