Thanks to visit codestin.com
Credit goes to github.com

Skip to content

brian-mann-math/ObjectTrackingRTSP

Repository files navigation

Object Tracking RTSP

A Python package for performing object tracking on RTSP video streams.

Installation

pip install -e .

For development:

pip install -e ".[dev]"

Usage

Basic usage example:

from object_tracking_rtsp.video import capture_rtsp_stream, process_frame

# Initialize video capture
vcap = capture_rtsp_stream("rtsp://your-camera-url")

# Process frames
while True:
    ret, frame = vcap.read()
    if not ret:
        break
        
    processed_frame = process_frame(frame)
    # Do something with the processed frame

Development

Running Tests

pytest

Code Style

This project uses:

  • Black for code formatting
  • Flake8 for linting
  • isort for import sorting

To format code:

black src tests
isort src tests
flake8 src tests

License

MIT License

About

Code for tracking objects on an RTSP enabled camera.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages