US 12,112,555 B1
Drowsy driving detection
Sung Chun Lee, Fairfax, VA (US); Nathan Hurst, Seattle, WA (US); Yan Wang, Mercer Island, WA (US); Olamide Akintewe, Potterville, MN (US); Justin Levine, Erie, CO (US); Kenshiro Nakagawa, San Francisco, CA (US); Cole Jurden, Kansas City, MO (US); Rachel Demerly, New York, NY (US); Aravindh Ramesh, San Francisco, CA (US); Kevin Lai, Redmond, WA (US); Jovanna Bubar, Los Angeles, CA (US); Shirish Nair, Shoreline, WA (US); and Maisie Wang, Seattle, WA (US)
Assigned to Samsara Inc., San Francisco, CA (US)
Filed by Samsara Inc., San Francisco, CA (US)
Filed on Apr. 12, 2024, as Appl. No. 18/634,353.
Int. Cl. G06V 20/59 (2022.01); G06V 10/774 (2022.01); G06V 40/16 (2022.01)
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
OG exemplary drawing
 
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.