Skip to main content

A package for object detection with depth using RealSense cameras

Project description

RealSense Depth Detector

A Python package for object detection with depth information using Intel RealSense cameras.

Installation

pip install .

Usage

from realsense_depth_detector import DepthDetector, DepthConfig
from ultralytics import YOLO

# Configure depth planes
config = DepthConfig(
    depth_planes={
        "close": (0.2, 1.0),
        "medium": (1.0, 2.0),
        "far": (2.0, 5.0)
    },
    active_plane="medium"
)

# Initialize
model = YOLO("yolov8n.pt")
detector = DepthDetector(model, config)

# Process frames
frame, detections = detector.process_frame()

# Clean up
detector.release()

Requirements

  • pyrealsense2
  • numpy
  • opencv-python
  • ultralytics (for YOLO)

Project details


Download files

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

Source Distribution

realsense_depth_detector-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

realsense_depth_detector-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file realsense_depth_detector-0.1.0.tar.gz.

File metadata

  • Download URL: realsense_depth_detector-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for realsense_depth_detector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ceb944d83dd029a48f7c207e6af2dbc96855f617450b947fa7f1d7b75bfca1d
MD5 12fad10273f672cbfb14d531504178ec
BLAKE2b-256 cfb45151c47004120aadb9ec3ef0463558117d91d541b104cbdf41d5ce03687e

See more details on using hashes here.

File details

Details for the file realsense_depth_detector-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for realsense_depth_detector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d101f4e3cb4712c62398bce53cdac36c2d9bd9f87fb3e58fc47631a49698c06
MD5 089efbe440be6e10209a2bcc1d7296ec
BLAKE2b-256 6b800994a8a7461fe9ec545decd3c2e3875868bb47c3c7e83dd0de37acf91ec2

See more details on using hashes here.

Supported by

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