ML_APIs
ML_APIs enables developers to understand the content of an image by encapsulating powerful machine learning models in an easy to use. 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.
| Source | Link |
|---|---|
| PyPI | https://pypi.org/project/ML_APIs/ |
| Repository | https://santhoshse7en.github.io/ML_APIs |
| Documentation | https://santhoshse7en.github.io/ML_APIs/doc |
Quick Start
In order to use this library, you first need to go through the following steps:
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Google Cloud Vision API.
- Setup Authentication.
Installation
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Supported Python Versions
Python >= 3.5
Deprecated Python Versions
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Windows
se7en@bar:~$ pip install virtualenv
se7en@bar:~$ virtualenv <your-env>
se7en@bar:~$ <your-env>\Scripts\activate
(<your-env>)se7en@bar:~$
Dependencies Installation
Use the package manager pip to install following
pip install -r requirements.txt
The easiest way to install the latest stable version of ML_APIs is with pip:
pip install ML_APIs
Example Usage Google Vision A.I. on local media file
from ML_APIs.google import vision_ai_local
path = <your-image>
model = 'logos'
credentials = <your-credentials.json>
image_classification = vision_ai_local(path, model, credentials)
image_classification.logos
Next Steps
Read the Product documentation to learn more about the product and see How-to Guides.
Metadata
Release files for ML-APIs 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ML_APIs-0.0.3.tar.gz | 6.7 kB | Without provenance | Details |
Release files / ML_APIs-0.0.3.tar.gz
| Download URL | ML_APIs-0.0.3.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfc6566f45c8ec6c0797fd039944a3a06096c230eabcccd5ab51e874c94bf646
|
|
BLAKE2b-256 checksum How to use checksums |
7618fac35925de42d31c5712bd0a00f0d6589602953f65e554ba5fa067de4308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
|
Security for ML-APIs 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.