Learn practical skills, build real-world projects, and advance your career

Driver Alertness Detection- Capestone project

Please load this file in jupyter notebook/binder to see the screenshop of the kaggle leaderboard for this project.

!pip install opendatasets
Requirement already satisfied: opendatasets in /opt/conda/lib/python3.9/site-packages (0.1.20) Requirement already satisfied: tqdm in /opt/conda/lib/python3.9/site-packages (from opendatasets) (4.61.2) Requirement already satisfied: kaggle in /opt/conda/lib/python3.9/site-packages (from opendatasets) (1.5.12) Requirement already satisfied: click in /opt/conda/lib/python3.9/site-packages (from opendatasets) (8.0.1) Requirement already satisfied: requests in /opt/conda/lib/python3.9/site-packages (from kaggle->opendatasets) (2.26.0) Requirement already satisfied: python-slugify in /opt/conda/lib/python3.9/site-packages (from kaggle->opendatasets) (5.0.2) Requirement already satisfied: python-dateutil in /opt/conda/lib/python3.9/site-packages (from kaggle->opendatasets) (2.8.2) Requirement already satisfied: six>=1.10 in /opt/conda/lib/python3.9/site-packages (from kaggle->opendatasets) (1.16.0) Requirement already satisfied: certifi in /opt/conda/lib/python3.9/site-packages (from kaggle->opendatasets) (2021.5.30) Requirement already satisfied: urllib3 in /opt/conda/lib/python3.9/site-packages (from kaggle->opendatasets) (1.26.6) Requirement already satisfied: text-unidecode>=1.3 in /opt/conda/lib/python3.9/site-packages (from python-slugify->kaggle->opendatasets) (1.3) Requirement already satisfied: charset-normalizer~=2.0.0 in /opt/conda/lib/python3.9/site-packages (from requests->kaggle->opendatasets) (2.0.0) Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.9/site-packages (from requests->kaggle->opendatasets) (3.1)

Here, In this project, we will detect or classify whether a driver is alert while driving or not on the basis of differnt physiological, environmental, and vechicular data. The columns p1 to p7 indicate physiological data, E1 to E11 indicate environmental data, and V1 to v11 indicate vehicular data.

# Let's import all our fundamental libraries 
import pandas as pd
import numpy as np
import jovian
import os
import opendatasets as od