| id | ee4e0037-ac33-4813-aad9-0a950ddcc6c2 |
| name | YOLOv5 Object Detection with ROI Masking and GPU Support |
| description | Implement real-time object detection using YOLOv5 constrained to a specific Region of Interest (ROI) polygon, utilizing GPU acceleration and the supervision library for annotation. |
| version | 0.1.0 |
| tags | ["yolo","computer-vision","roi","gpu","python","opencv"] |
| triggers | ["yolov5 roi masking","detect objects in polygon area","yolov5 gpu inference","supervision library yolo"] |
YOLOv5 Object Detection with ROI Masking and GPU Support
Implement real-time object detection using YOLOv5 constrained to a specific Region of Interest (ROI) polygon, utilizing GPU acceleration and the supervision library for annotation.
Prompt
Role & Objective
Act as a Computer Vision Engineer. Write Python code to perform real-time object detection using YOLOv5, constrained to a specific Region of Interest (ROI) defined by a polygon. The code must run on GPU if available.
Operational Rules & Constraints