The camera component of the project was used to detect if the driver was asleep or not. The camera was attached to the car's dashboard and was connected to a machine learning algorithm that was trained to recognize the signs of drowsiness in a person's face, such as drooping eyelids, yawning, and nodding off. If the algorithm detected signs of drowsiness, it would play an alarm to alert the driver and send a notification to the driver's mobile phone and their next of kin. The notification would include the GPS location of the car, as well as a video feed of the driver so that emergency services could be alerted if necessary.