IP Library › Granted Patent US 12,112,555
Granted Patent B1
US 12,112,555 · App. 18/634,353 · Granted Oct 8, 2024

Drowsy driving detection

Inventors: Sung Chun Lee (Fairfax, VA); Nathan Hurst (Seattle, WA); Yan Wang (Mercer Island, WA); Olamide Akintewe (Potterville, MN); Justin Levine (Erie, CO); Kenshiro Nakagawa (San Francisco, CA); Cole Jurden (Kansas City, MO); Rachel Demerly (New York, NY); Aravindh Ramesh (San Francisco, CA); Kevin Lai (Redmond, WA); Jovanna Bubar (Los Angeles, CA); Shirish Nair (Shoreline, WA); Maisie Wang (Seattle, WA)
Assignee: Samsara Inc.
G06V20/597G06V10/774G06V40/161G06V40/168G06V40/174
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,112,555
App. No.
18/634,353
Granted
Oct 8, 2024
Kind
B1
Abstract

Techniques are presented for detecting when drivers drive while drowsy. In some implementations, a drowsiness model is trained with data associated with inward videos and outward videos captured during a trip. The inward videos capture the inside of the cabin with the driver, and the outward videos capture the view in front of the vehicle in the direction of travel. Further, a device at the vehicle periodically calculates a drowsiness scale index value that indicates the level of drowsiness of the driver. Calculating the drowsiness scale index value includes obtaining a set of inward frames from the inward videos; for each inward frame, creating a face image by cropping the inward frame; obtaining a set 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.

Claims (45)

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.

2. The method as recited in claim 1 , wherein the drowsiness model comprises a face deep feature extraction network and a drowsiness classifier, wherein the face deep feature extraction network calculates the inward embedding for each face image.

3. The method as recited in claim 2 , wherein the drowsiness classifier receives as input a plurality of inward embeddings generated by the face deep feature extraction network and a plurality of outward embeddings, wherein the drowsiness classifier outputs the drowsiness scale index value.

4. The method as recited in claim 1 , wherein a drowsiness scale comprises values of one for very alert, two for fairly alert, three for signs of sleepiness, four for sleepy, and five for very sleepy.

5. The method as recited in claim 1 , wherein the drowsiness model is based on features comprising one or more of inward images from inward videos, outward images from outward videos, trip duration at time of event, inertial measurements, driver identifier, industry identifier, customer identifier, or vehicle type.

6. The method as recited in claim 1 , further comprising:

detecting a state of drowsiness of the driver based on the drowsiness scale index value; and

issuing an audio alert to the driver.

7. The method as recited in claim 1 , wherein the inward videos are videos of an inside of a cabin that includes the driver, wherein the outward videos capture a view in front of the vehicle in a direction of travel.

8. The method as recited in claim 1 , wherein each calculation of the drowsiness scale index value is based on ten inward embeddings and ten outward embeddings.

9. The method as recited in claim 1 , wherein the inward frames are sampled from the inward video at a frequency of two inward frames per second and a window of ten seconds is used to calculate the drowsiness scale index value.

10. The method as recited in claim 1 , wherein the drowsiness scale index value is calculated at a predetermined frequency, the predetermined frequency being in a range from once a second to five times a second.

11. The method as recited in claim 1 , wherein the drowsiness model includes a ResNet (Residual Network) classifier.

12. A system comprising:

a memory comprising instructions; and

one or more computer processors, wherein the instructions, when executed by the one or more computer processors, cause the system to perform operations 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.

13. The system as recited in claim 12 , wherein the drowsiness model comprises a face deep feature extraction network and a drowsiness classifier, wherein the face deep feature extraction network calculates the inward embedding for each face image.

14. The system as recited in claim 13 , wherein the drowsiness classifier receives as input a plurality of inward embeddings generated by the face deep feature extraction network and a plurality of outward embeddings, wherein the drowsiness classifier outputs the drowsiness scale index value.

15. The system as recited in claim 12 , wherein a drowsiness scale comprises values of one for very alert, two for fairly alert, three for signs of sleepiness, four for sleepy, and five for very sleepy.

16. The system as recited in claim 12 , wherein the drowsiness model is based on features comprising one or more of inward images from inward videos, outward images from outward videos, trip duration at time of event, inertial measurements, driver identifier, industry identifier, customer identifier, or vehicle type.

17. A non-transitory machine-readable storage medium including instructions that, when executed by a machine, cause the machine to perform operations 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.

18. The non-transitory machine-readable storage medium as recited in claim 17 , wherein the drowsiness model comprises a face deep feature extraction network and a drowsiness classifier, wherein the face deep feature extraction network calculates the inward embedding for each face image.

19. The non-transitory machine-readable storage medium as recited in claim 18 , wherein the drowsiness classifier receives as input a plurality of inward embeddings generated by the face deep feature extraction network and a plurality of outward embeddings, wherein the drowsiness classifier outputs the drowsiness scale index value.

20. The non-transitory machine-readable storage medium as recited in claim 17 , wherein a drowsiness scale comprises values of one for very alert, two for fairly alert, three for signs of sleepiness, four for sleepy, and five for very sleepy.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 12, 2024
From: LEE, SUNG CHUN; HURST, NATHAN; WANG, YAN; AKINTEWE, OLAMIDE; LEVINE, JUSTIN; NAKAGAWA, KENSHIRO; JURDEN, COLE; DEMERLY, RACHEL; RAMESH, ARAVINDH; LAI, KEVIN; BUBAR, JOVANNA; NAIR, SHIRISH; WANG, MAISIE
To: SAMSARA INC.
Reel/Frame 067092/0541 →
Cited By (5)
US 12,263,861 US 12,266,123 US 12,272,138 US 12,327,417 US 12,525,001