Introduce python Google Cloud Vision API to

the ports tree.  This API can be used to access
various Google tools for manipulating images.

Sponsored by:	Panzura
This commit is contained in:
Josh Paetzel 2018-10-17 22:35:36 +00:00
parent f55915fb4b
commit 4330d76dbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482306
4 changed files with 40 additions and 0 deletions

View file

@ -1690,6 +1690,7 @@
SUBDIR += py-google-cloud-core
SUBDIR += py-google-cloud-storage
SUBDIR += py-google-cloud-translate
SUBDIR += py-google-cloud-vision
SUBDIR += py-google-resumable-media
SUBDIR += py-graphite-api
SUBDIR += py-graphite-web

View file

@ -0,0 +1,22 @@
# $FreeBSD$
PORTNAME= google-cloud-vision
PORTVERSION= 0.34.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= Python Client for Google Cloud Vision
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=0.1.1:www/py-google-api-core@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1539810189
SHA256 (google-cloud-vision-0.34.0.tar.gz) = 50392b2c68e40dbf725c531ba4d325bd910da6441a472ed0a3fadfd0ab8548f7
SIZE (google-cloud-vision-0.34.0.tar.gz) = 1790457

View file

@ -0,0 +1,14 @@
Google Cloud Vision API enables developers to understand
the content of an image by encapsulating powerful
machine learning models in an easy to use REST API. It
quickly classifies images into thousands of categories
(e.g., sailboat, lion, Eiffel Tower), detects individual
objects and faces within images, and finds and reads
printed words contained within images. You can build
metadata on your image catalog, moderate offensive
content, or enable new marketing scenarios through image
sentiment analysis. Analyze images uploaded in the
request or integrate with your image storage on Google
Cloud Storage.
WWW: https://pypi.org/project/google-cloud-vision/