CPC G06V 20/597 (2022.01) [G06V 10/774 (2022.01); G06V 40/161 (2022.01); G06V 40/168 (2022.01); G06V 40/174 (2022.01)] | 20 Claims |
1. A computer-implemented method comprising:
training a drowsiness model with data associated with inward videos and outward videos captured during a trip of a vehicle; and
periodically calculating, by a device at the vehicle, a drowsiness scale index value that indicates a level of drowsiness of a driver, wherein calculating the drowsiness scale index value comprises:
obtaining a plurality of inward frames from the inward videos;
for each inward frame, creating a face image by cropping the inward frame;
obtaining a plurality of outward frames from the outward videos;
calculating inward embeddings of the face images and outward embeddings of the outward frames; and
calculating, by the drowsiness model, the drowsiness scale index value.
|