All Projects → MaryamBoneh → Vehicle-Detection

MaryamBoneh / Vehicle-Detection

Licence: GPL-3.0 license
Vehicle Detection Using Deep Learning and YOLO Algorithm

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to Vehicle-Detection

ros-yolo-sort
YOLO v3, v4, v5, v6, v7 + SORT tracking + ROS platform. Supporting: YOLO with Darknet, OpenCV(DNN), OpenVINO, TensorRT(tkDNN). SORT supports python(original) and C++. (Not Deep SORT)
Stars: ✭ 162 (+68.75%)
Mutual labels:  yolo, yolov5
make-your-yolov5 dataset
💥Make your yolov5 dataset by using labelimg.I hope my work can help you make your yolov5 datasets more quickly.
Stars: ✭ 60 (-37.5%)
Mutual labels:  yolo, yolov5
food-detection-yolov5
🍔🍟🍗 Food analysis baseline with Theseus. Integrate object detection, image classification and multi-class semantic segmentation. 🍞🍖🍕
Stars: ✭ 68 (-29.17%)
Mutual labels:  yolo, yolov5
YOLOv4MLNet
Use the YOLO v4 and v5 (ONNX) models for object detection in C# using ML.Net
Stars: ✭ 61 (-36.46%)
Mutual labels:  yolo, yolov5
realtime-object-detection
Detects objects in images/streaming video
Stars: ✭ 16 (-83.33%)
Mutual labels:  yolo, yolov5
Multitarget Tracker
Multiple Object Tracker, Based on Hungarian algorithm + Kalman filter.
Stars: ✭ 1,621 (+1588.54%)
Mutual labels:  yolo, car-counting
JSON2YOLO
Convert JSON annotations into YOLO format.
Stars: ✭ 222 (+131.25%)
Mutual labels:  yolo, yolov5
YOLOX deepsort tracker
using yolox+deepsort for object-tracking
Stars: ✭ 228 (+137.5%)
Mutual labels:  yolo, yolov5
TNN Demo
🍉 移动端TNN部署学习笔记,支持Android与iOS。
Stars: ✭ 51 (-46.87%)
Mutual labels:  yolo, yolov5
Yolov3
YOLOv3 in PyTorch > ONNX > CoreML > TFLite
Stars: ✭ 8,159 (+8398.96%)
Mutual labels:  yolo, yolov5
Yolov5
YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
Stars: ✭ 19,914 (+20643.75%)
Mutual labels:  yolo, yolov5
Object-Detection-Knowledge-Distillation
An Object Detection Knowledge Distillation framework powered by pytorch, now having SSD and yolov5.
Stars: ✭ 189 (+96.88%)
Mutual labels:  yolov5
DeepParking
Find vacant parking spots in indoor and outdoor locations
Stars: ✭ 41 (-57.29%)
Mutual labels:  yolo
Deepstream Project
This is a highly separated deployment project based on Deepstream , including the full range of Yolo and continuously expanding deployment projects such as Ocr.
Stars: ✭ 120 (+25%)
Mutual labels:  yolov5
Yolo-to-COCO-format-converter
Yolo to COCO annotation format converter
Stars: ✭ 176 (+83.33%)
Mutual labels:  yolo
epic-awesome-gamer
🍷 Gracefully claim weekly free games and monthly content from Epic Store.
Stars: ✭ 600 (+525%)
Mutual labels:  yolov5
vehicle-detection
Detect vehicles in a video
Stars: ✭ 88 (-8.33%)
Mutual labels:  yolo
instance-segmentation
No description or website provided.
Stars: ✭ 40 (-58.33%)
Mutual labels:  yolo
Active-learning-for-object-detection
Active learning for deep object detection using YOLO
Stars: ✭ 35 (-63.54%)
Mutual labels:  yolov5
CNN-models
YOLO-v2, ResNet-32, GoogLeNet-lite
Stars: ✭ 32 (-66.67%)
Mutual labels:  yolo

VehicleDetection

Vehicle Detection Using Deep Learning and YOLO Algorithm

(Train YOLO v5 on a Custom Dataset)

res-2

res-1

Dataset

take or find vehicle images for create a special dataset for fine-tuning.

Train : 70%

Validition : 20%

Test : 10%

dataset.yaml

config dataset.yaml for the address and information of your dataset.

path: Dataset/dataset-vehicles  # dataset root dir
train: images/train  # train images (relative to 'path')
val: images/val  # val images (relative to 'path')
test:  # test images (optional)

# Classes
nc: 5  # number of classes
names: [ 'Car', 'Motorcycle', 'Truck', 'Bus', 'Bicycle']  # class names

Clone Vehicle-Detection Repository

git clone https://github.com/MaryamBoneh/Vehicle-Detection
cd Vehicle-Detection
pip install -r requirements.txt

wandb

to have mAP, loss, confusion matrix, and other metrics, sign in www.wandb.ai.

pip install wandb

Train

fine-tuning on a pre-trained model of yolov5.

python train.py --img 640 --batch 16 --epochs 50 --data dataset.yaml --weights yolov5m.pt

Test

after train, gives you weights of train and you should use them for test.

python detect.py --weights runs/train/exp12/weights/best.pt --source test_images/imtest13.JPG

you can also use the weight file in path 'runs/train/exp12/weights/best.pt' without the train. this weight is the result of 128 epoch train on the following dataset.

My Vehicle Dataset

https://b2n.ir/vehicleDataset
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].