Skip to main content

Easy Inference

Welcome to the easy inference repository! The main goal of this repository is to provide a clean, simple and short way of setting up inference pipelines for 2D (and 3D) visual detection. The interfaces to camera drivers are abstracted away as python generators. A simple inference pipeline for a webcam based inference pipeline looks as follows:

from easy_inference.providers.webcam import Webcam

provider = Webcam(source=0)

for frame in provider:

  # run my detection 

See the examples directory for some yolov7 pipelines.

Sidenote

Many examples is this repository include yolov7 pipelines using the onnx-runtime. To generate onnx model files follow the steps on the yolov7 repository readme.

To export a model for yolov7 including pose detection, checkout the following branch of yolov7 and download the pytorch model yolov7-w6-pose.pt. Then run the following to export an onnx model with your desired configuration:

cd yolov7
python models/export.py --weights yolov7-w6-pose.pt --grid --simplify --export-nms --batch-size 2 --img-size 512 640

Metadata

Release files for easy-inference 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easy-inference 0.1.1
File Size Uploaded Provenance Actions
easy_inference-0.1.1.tar.gz 10.8 kB Without provenance Details for easy_inference-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easy-inference 0.1.1
File Interpreter ABI Platform Actions
easy_inference-0.1.1-py3-none-any.whl Python 3 none any Details for easy_inference-0.1.1-py3-none-any.whl

Total release size: 23.6 kB

Release files / easy_inference-0.1.1.tar.gz

Download URL easy_inference-0.1.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0f5546aa7a5fa02b6dece666d9d7eae908e2b074fab9d93490a11ea97d40efd6
BLAKE2b-256 checksum
How to use checksums
d52a7f94d463fda20e09db2bebc07ddc1cf48eeba70ad5b670b8ec0483936047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / easy_inference-0.1.1-py3-none-any.whl

Download URL easy_inference-0.1.1-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e3011ee3c7e3ecdf0a8d560a6476d4ee41637a32de4226cac298ac11caa633a
BLAKE2b-256 checksum
How to use checksums
f19a4c225f1aad8f413646d9fa663fe3ac08185a406c58fd56e4722a6a9de45b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for easy-inference 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page