1 Star 0 Fork 0

Cheng_Loon/imgaug

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
from setuptools import setup, find_packages
import os
# Check if OpenCV is installed and raise an error if it is not
# but don't do this if the ReadTheDocs systems tries to install
# the library, as that is configured to mock cv2 anyways
READ_THE_DOCS = os.environ.get('READTHEDOCS') == 'True'
if not READ_THE_DOCS:
try:
import cv2 # pylint: disable=locally-disabled, unused-import, line-too-long
except ImportError as e:
raise Exception("Could not find package 'cv2' (OpenCV). It cannot be automatically installed, so you will have to manually install it.")
long_description = """A library for image augmentation in machine learning experiments, particularly convolutional neural networks.
Supports augmentation of images and keypoints/landmarks in a variety of different ways."""
setup(
name="imgaug",
version="0.2.5",
author="Alexander Jung",
author_email="kontakt@ajung.name",
url="https://github.com/aleju/imgaug",
download_url="https://github.com/aleju/imgaug/archive/0.2.5.tar.gz",
install_requires=["scipy", "scikit-image>=0.11.0", "numpy>=1.7.0", "six"],
packages=find_packages(),
include_package_data=True,
license="MIT",
description="Image augmentation library for machine learning",
long_description=long_description,
keywords=["augmentation", "image", "deep learning", "neural network", "machine learning"]
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Cheng_Loon/imgaug.git
git@gitee.com:Cheng_Loon/imgaug.git
Cheng_Loon
imgaug
imgaug
master

搜索帮助