Skip to content

Braincore-C24-MS02/ML-Development

Repository files navigation

ML-Development

Reference:

  1. Dataset from RoboFlow https://universe.roboflow.com/driver-wlf6m/driving-monitoring-system/dataset/2
  2. Drowsiness Detection https://github.com/akshaybahadur21/Drowsiness_Detection/blob/master/Drowsiness_Detection.py


Before starting EAR and MAR, you should download shape_predictor.dat through https://github.com/italojs/facial-landmarks-recognition/blob/master/shape_predictor_68_face_landmarks.dat


Driver Monitoring System is consisted of two models

  1. Object detection, trained by YOLOv8, detects bottle, phone, smoke, vape. You can access it in best.pt file
  2. Face detection, trained using cvzone and shape_predictor.dat, detects yawn through EAR (eye aspect ratio) and MAR (mouth aspect ratio). You can access it in main.py


The Driver Monitoring System can be run in dms.py file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •