Metadata-Version: 2.1
Name: realsense-depth-detector
Version: 0.1.0
Summary: A package for object detection with depth using RealSense cameras
Home-page: https://github.com/ekts00243/realsense_depth.git
Author: Harikrishna U Kamath
Author-email: ekts00243@gmail.com
License: UNKNOWN
Keywords: realsense,depth detection,computer vision,yolo,object detection
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# RealSense Depth Detector

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

## Installation

```bash
pip install .
```

## Usage

```python
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)


