Skip to main content

Object Daddy

A simple, python-based object recognizer, basically an implementation of yolo-v3-tiny. This package is used for personal projects; I don't maintain it, so use at your own risk, and feel free to fork.

Usage

Basic usage is as follows. This project is built to work with rtsparty (also on pypi).

You can get and recognize one frame using the following:

from rtsparty import Stream
from objectdaddy import Daddy


stream = Stream()
daddy = Daddy()

frame = stream.get_frame()
results, frame = daddy.process_frame(frame)
for detection in results:
    detection.identify()

For continuous recognition, use the following code.

from rtsparty import Stream
from objectdaddy import Daddy


stream = Stream()
daddy = Daddy()


try:
    while True:
        frame = stream.get_frame()
        if stream.is_frame_empty(frame):
            continue
        daddy.process_frame(frame)
        for detection in daddy.get_current_detections():
            if not detection.has_been_processed_downstream:
                detection.identify()
                detection.has_been_processed_downstream = True
except KeyboardInterrupt:
    pass

The code makes the attempt to recognize objects across multiple frames, and keep a list of objects in memory accessed with the get_current_detections() function.

Notes

  • This package supports only CPU-based inference.

Metadata

Release files for objectdaddy 0.0.5

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

Source distribution (sdist)

Source distribution for objectdaddy 0.0.5
File Size Uploaded Provenance Actions
objectdaddy-0.0.5.tar.gz 65.8 MB Without provenance Details for objectdaddy-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for objectdaddy 0.0.5
File Interpreter ABI Platform Actions
objectdaddy-0.0.5-py2-none-any.whl Python 2 none any Details for objectdaddy-0.0.5-py2-none-any.whl

Total release size: 98.7 MB

Release files / objectdaddy-0.0.5.tar.gz

Download URL objectdaddy-0.0.5.tar.gz
Size 65.8 MB
Tags Source
SHA-256 checksum
How to use checksums
3b9c2058f1e1287d5d177178c2a75b5ee2ccfa86bde652e55e6476d979cbbb34
BLAKE2b-256 checksum
How to use checksums
ad55c97656eeda641814541b63c718d050f312f42b685367e594f4a01b5ba045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.16

Release files / objectdaddy-0.0.5-py2-none-any.whl

Download URL objectdaddy-0.0.5-py2-none-any.whl
Size 32.9 MB
Tags Python 2
SHA-256 checksum
How to use checksums
bb702f1ad0c8b9e70654ad9fecd10d9b2a6cc5b7b3ed80d5f8a349619bcb81d9
BLAKE2b-256 checksum
How to use checksums
a9dfd33d3a1be70e2c67ccb014d44a52a3ccc804ef974085f0645c73a4e92c8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.16

Security for objectdaddy 0.0.5

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