Research Article

IoT-Based Smart Alert System for Drowsy Driver Detection

Code 2

from pynmea import nmea
import serial, time, sys, threading, datetime, shutil;
message = pynmea. parse $ (“$GPGGA, 172245. 25, 20. 4377,
S, 85. 8997, E, 2, 0 9, 3. 7, 1 1 0. 0 0, M, −36.9 ,M,00013*7D”)