Posts

Showing posts with the label machine learning

Drowsiness Alert System

Image
Drowsiness detection is a safety technology that can prevent accidents that are caused by drivers who fell asleep while driving. The objective of this Python project is to build a drowsiness detection system that will detect that a person’s eyes are closed for a few seconds. This system will alert the driver when drowsiness is detected. Driver Drowsiness Detection System In this Python project, we will be using OpenCV for gathering the images from webcam and feed them into a Deep Learning model which will classify whether the person’s eyes are ‘Open’ or ‘Closed’. The approach we will be using for this Python project is as follows : Step 1 – Take image as input from a camera. Step 2 – Detect the face in the image and create a Region of Interest (ROI). Step 3 – Detect the eyes from ROI and feed it to the classifier.Step 4 – Classifier will categorize whether eyes are open or closed. Step 5 – Calculate score to check whether the person is drowsy. The Dataset The dataset used for this mod...

Facial Expression Recogonition AWS

Image
  The project idea was implemented using OpenCV-Python and aws.rekognition The aim was to predict the facial expression features of the image or frame in a video. Requirements:  Python3 library: opencv-python  https://pypi.org/project/opencv-python/ AWS account Step 1:            Sign up an aws account and create iam user service (amazon rekogmition and amazon bucket s3) enabled.          Once created iam user account download credential.csv file and copy the file to your folder location.( Note don't share your credential to anyone ) Step 2:            write a  python program to capture the video using webcam.                        Read the credential file to your program and read  aws_access_key_id  and  aws_secret_access_key. with open ( "new_user_credentials.csv" , 'r' ) as input: next (...

Gender Age Facial prediction

Image
Gender Age Facial prediction The project idea was implemented using OpenCV-Python and aws. The aim was to predict the gender,age and other facial features of the image or frame in a video. Requirements:  Python3 library: opencv-python  https://pypi.org/project/opencv-python/ AWS account Step 1:            Sign up an aws account and create iam user service (amazon rekogmition and amazon bucket s3) enabled.          Once created iam user account download credential.csv file and copy the file to your folder location.( Note don't share your credential to anyone ) Step 2:            write a  python program to capture the video using webcam.                        Read the credential file to your program and read  aws_access_key_id  and aws_secret_access_key. with open ( "new_user_credentials.csv" , 'r' ) as in...