🏷️ upicvision
📸 Overview
The TagDetector class is a powerful 🚀 real-time AprilTag detection system that transforms your camera into a smart tag recognition device!
🎯 Key Features:
- 📷 Real-time Detection: Lightning-fast AprilTag identification using OpenCV and AprilTag libraries
- 🎮 Easy Control: Simple start, stop, pause, and resume operations
- ⚙️ Flexible Configuration: Customizable camera settings and resolution scaling
- 🔧 Resource Management: Smart camera initialization and cleanup
- 🎪 Thread-Safe: Built-in threading support for smooth performance
Perfect for robotics 🤖, augmented reality 🥽, and computer vision applications!
🚀 Quick Start Guide
🔧 Initialization
from upic import TagDetector
# 🎬 Create your detector with custom settings
detector = TagDetector(cam_id=0, resolution_multiplier=0.75)
📹 Camera Operations
# 🟢 Start the magic - open camera and begin detection
detector.open_camera().apriltag_detect_start()
# ⏸️ Pause detection temporarily (camera stays active)
detector.halt_detection()
# ▶️ Resume detection when ready
detector.resume_detection()
# 🔴 Clean shutdown - release camera resources
detector.release_camera()
🏷️ Getting the Detected Tag
# 🔍 Check what tag is currently detected
current_tag_id = detector.tag_id
print(f"🎯 Current Tag ID: {current_tag_id}")
💡 Complete Working Example
from upic import TagDetector
# 🚀 Initialize the detector
detector = TagDetector(cam_id=0, resolution_multiplier=0.75)
# 🎬 Start detection
detector.open_camera().apriltag_detect_start()
# 🎮 Control detection as needed
detector.halt_detection() # ⏸️ Pause
detector.resume_detection() # ▶️ Resume
# 🔍 Get the detected tag
current_tag_id = detector.tag_id
print(f"🎯 Detected Tag ID: {current_tag_id}")
# 🧹 Clean up when finished
detector.release_camera()
Metadata
Release files for upicvision 0.1.1.1
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 | Actions |
|---|---|---|---|---|
| upicvision-0.1.1.1.tar.gz | 12.8 kB | Without provenance | Details for upicvision-0.1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| upicvision-0.1.1.1-py3-none-any.whl | Python 3 | none | any | Details for upicvision-0.1.1.1-py3-none-any.whl |
Total release size: 25.4 kB
Release files / upicvision-0.1.1.1.tar.gz
| Download URL | upicvision-0.1.1.1.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a213a3723ff5a971df32c96631cb217979ab21c4e90c666eabd06436159aec7
|
|
BLAKE2b-256 checksum How to use checksums |
ba0c66af4a86710095066cd5b4ad903e095003c8d4192554dafd5d45113edbfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.27.0 CPython/3.11.15 Linux/6.17.0-1013-azure
|
Release files / upicvision-0.1.1.1-py3-none-any.whl
| Download URL | upicvision-0.1.1.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0801ab732113b2e5fc7dd1d69db729a333d214bcb1b673fb23ad6335e3f91033
|
|
BLAKE2b-256 checksum How to use checksums |
ccb2ea8c76ef16f1f02fd9c409f3eb9b6abddedc8ffac75dbcc6f51592fd8ebf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.27.0 CPython/3.11.15 Linux/6.17.0-1013-azure
|
Security for upicvision 0.1.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.