Use sign-detection.ipynb
The repo utilizes the YOLOv5 architecture with modifications for our use. https://github.com/ultralytics/yolov5
There is a current issue regarding version incompatibility between the version of YOLOv5 we used and Torch. Please refer to ultralytics/yolov5#6948 for fixing this issue.
Above, frame displaying detection of stop signAbove, frame displaying detection of speed limit including number on sign
Above, frame displaying false sign detection by YOLOv5, but caught by EasyOCR as urdbl (unreadable) Enters the YOLOv5 directory and double checks the device used for detection The cell where things such as directory and other settings can be adjusted for the rest of inference. Requires setting up a videos folder if not using an existing one already. Utility functions to be used later on The call to the YOLOv5 architecture to perform inference on a set up videos as denoted in the paramters cell. Post-processes the raw output from YOLOv5 to fill in gaps, remove outliers, and group together detections. Runs OCR on groupings of detections to verify results from YOLOv5 and assign speed limit numbers. Creates video snippets of every grouping of detection for ease of double checking Creates a more human readable csv for detections Creates a full video with bounding boxes of detections.