How rahul282007/object_tracker works
This small application captures webcam frames, runs YOLO object detection and persistent tracking, annotates the results, and displays a live window until the operator quits. The single script owns the runtime flow; the model weights are a local artifact, while the camera and YOLO/OpenCV functionality come from external dependencies. The README is empty, so capabilities and relationships are based on the sampled script only.
Main entry points: tracker.py Frame loop · yolov8n.pt YOLOv8 weights
Components 6
Tracking runtime
- Frame loop
object_tracker/tracker.py - YOLOv8 weights
object_tracker/yolov8n.pt
Other components
- Operator
- Webcam
- YOLO tracking
- Annotated video window
Connections 5
- Frame loop → Webcam: reads frames
object_tracker/tracker.py - Frame loop → YOLOv8 weights: loads weights
object_tracker/tracker.py - Frame loop → YOLO tracking: tracks frames
object_tracker/tracker.py - Frame loop → Annotated video window: plots and displays
object_tracker/tracker.py - Operator → Frame loop: quits with q
object_tracker/tracker.py