Detection on custom dataset with heatmap
To run the pipeline, simply use "pip install -r requirement.txt" tp install all dependencies, then run run_pipline() in main.py with the path to a video as the input to run.
run_pipline(video_path)
The output of the pipline can be found in the ./temp_dir_distance/0movie.gif file. By default the pipline would process 10000 frames of the input video, however for faster testing, this can be set to 10 for example. The pipeline also uses the birdeye view distance as the distance metric by default, for this reason, 4 points need to be selected manually when the code begins running to compute a homgraphy matrix. It can be changed to Euclidean distance by modifying the argument like so:
run_pipline(video_path, detection_mode = "Euclidean")
YOLOv5 baseline model benchmark
Detectron2 baseline mode benchmark
Multi-camera pedestrians video (Using)
Caltech Pedestrian Detection Benchmark
Joint Attention in Autonomous Driving JAAD Dataset (Using)
EPFL dataset video 4p-c0
For VOLOv5
For Detectron2
Responding to the Controversy about YOLOv5 This post compare between YOLO4 & YOLO5 performace on inference speed, model size and accuracy. Since paper for YOLO5 is not found, may be a good source for identifying YOLO5 performance in all
Object Detection and Tracking in 2020
YOLO vs R-CNN/Fast R-CNN/Faster R-CNN is more of an apples to apples comparison (YOLO is an object detector, and Mask R-CNN is for object detection+segmentation). YOLO is easier to implement due to its single stage architecture. Faster inference times and end-to-end training also means it'll be faster to train.
Object Detection on COCO test-dev
Object Detection on COCO minival
A social distancing detector using a Tensorflow object detection model, Python and OpenCV(MobileNet)
This post details the bird's view conversion process in detection, which uses getPerspectiveTransform
and warpPerspective
to transform the region of interest inside predefined four points. Similar approach is also adapted in Bird's Eye View Transformation
OpenCV Social Distancing Detector(With YOLO)
Social Distance Detector with Python, YOLOv4, Darknet, and OpenCV
Social Distancing Detector with YOLOv3 post
Social Distancing Detector with YOLOv3 code
Your Social Distancing Detection Tool: How to Build One using your Deep Learning Skills
Bird's Eye View Transformation
Robust lane finding techniques using computer vision — Python & Open CV
A Geometric Approach to Obtain a Bird’s Eye View from an Image