Epigos AI Python SDK
Project description
Epigos Python
Epigos provides an end-to-end platform to annotate data, train computer vision AI models, deploy them seamlessly and host the models via API's.
For more details, visit epigos.ai.
The Epigos Python Package is a python wrapper around the core Epigos AI web application and REST API.
Installation
To install this package, please use Python 3.9
or higher.
To add epigos
to your project simply install with pip:
pip install epigos
Or with poetry
poetry add epigos
Getting Started
To make your first API call, you will need to signup at epigos.ai and create an API key for your workspace. Please contact our sales team for a demo.
Initialization:
import epigos
client = epigos.Epigos("api_key")
Prediction:
Make predictions with any of the models deployed in your workspace using the Model ID
.
Classification
import epigos
client = epigos.Epigos("api_key")
# load classification model
model = client.classification("model_id")
# make predictions
results = model.predict("path/to/your/image.jpg")
print(results.dict())
Object detection
import epigos
client = epigos.Epigos("api_key")
# load object detection model
model = client.object_detection("model_id")
# make predictions
results = model.detect("path/to/your/image.jpg")
print(results.dict())
# visualize detections
results.show()
Contributing
If you want to extend our Python library or if you find a bug, please open a PR!
Also be sure to test your code with the make
command at the root level directory.
Run tests:
make test
Commit message guidelines
It’s important to write sensible commit messages to help the team move faster.
Please follow the commit guidelines
Versioning
This project uses Semantic Versioning.
Publishing
This project is published on PyPi
License
This library is released under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file epigos-1.0.0.tar.gz
.
File metadata
- Download URL: epigos-1.0.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1809c75edeafc9682ef0bd060cbdd703cdb9fae230eb2082fc3b5766a93e6a13 |
|
MD5 | 4deb2fdcafcda4582883c593c92e3424 |
|
BLAKE2b-256 | 946f9306ee1abdc2cd6d8941507246d87fc41d85b9cf4effc7fe06434325905a |
File details
Details for the file epigos-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: epigos-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de6d25f0f8b1a87000ab3248006da1284abdd6c9a1c52d89b900b07e161029fd |
|
MD5 | dac14948c100e344304f254b7bbee47d |
|
BLAKE2b-256 | d45bf60ded8f2364d72daf41a60af972e499eb7a73d287b3a299f0cc36151213 |