Skip to main content

🏷️ upicvision

MIT License Python Versions PyPI Version Ask DeepWiki PyPI Downloads PyPI Downloads


📸 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()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upicvision-0.1.1.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

upicvision-0.1.1.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file upicvision-0.1.1.1.tar.gz.

File metadata

  • Download URL: upicvision-0.1.1.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.27.0 CPython/3.11.15 Linux/6.17.0-1013-azure

File hashes

Hashes for upicvision-0.1.1.1.tar.gz
Algorithm Hash digest
SHA256 7a213a3723ff5a971df32c96631cb217979ab21c4e90c666eabd06436159aec7
MD5 d5c76814db94269c7eb3d77d639f8dc5
BLAKE2b-256 ba0c66af4a86710095066cd5b4ad903e095003c8d4192554dafd5d45113edbfc

See more details on using hashes here.

File details

Details for the file upicvision-0.1.1.1-py3-none-any.whl.

File metadata

  • Download URL: upicvision-0.1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.27.0 CPython/3.11.15 Linux/6.17.0-1013-azure

File hashes

Hashes for upicvision-0.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0801ab732113b2e5fc7dd1d69db729a333d214bcb1b673fb23ad6335e3f91033
MD5 e812728b37661ce33fa7417987db3c75
BLAKE2b-256 ccb2ea8c76ef16f1f02fd9c409f3eb9b6abddedc8ffac75dbcc6f51592fd8ebf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1.1 This release

2 files

0.1.1

2 files

0.1.0.6

2 files

0.1.0.5

2 files

0.1.0.4

2 files

0.1.0.3

2 files

0.1.0.2

2 files

0.1.0.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page