IP Library Granted Patent US 12,586,230
Granted Patent B2
US 12,586,230 · App. 18/133,797 · Granted Mar 24, 2026

Systems and methods for training a model for determining vehicle following distance

Inventors: Joy Mazumder (Etobicoke, CA); Shashank Saurav (Toronto, CA); Javed Siddique (York, CA); Mohammed Sohail Siddique (Milton, CA)
Assignee: Geotab Inc.
G06T7/70G06V20/58G06T2207/20081G06T2207/30252
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,586,230
App. No.
18/133,797
Granted
Mar 24, 2026
Kind
B2
Abstract

Systems, methods, models, and training data for models are discussed, for determining vehicle positioning, and in particular identifying tailgating. Simulated training images showing vehicles following other vehicles, under various conditions, are generated using a virtual environment. Models are trained to determine following distance between two vehicles. Trained models are used to in detection of tailgating, based on determined distance between two vehicles. Results of tailgating are output to warn a driver, or to provide a report on driver behavior.

Claims (46)

1 . A system for training a model for determining a distance between two vehicles, the system comprising:

at least one processor;

at least one non-transitory processor-readable storage medium communicatively coupled to the at least one processor and storing processor-executable instructions which when executed by the at least one processor cause the system to:

render image data based on simulation in a virtual environment, the image data including at least:

a first set of images, each image in the first set of images including a representation of a respective first virtual vehicle from a perspective of a respective second virtual vehicle behind the respective first virtual vehicle, and each image in the first set of images associated with; a respective distance label indicating a distance between the respective first virtual vehicle and the respective second virtual vehicle and a respective vehicle presence label indicating that the respective first virtual vehicle is within a vehicle presence threshold distance of the respective second virtual vehicle; and

a second set of images, each image in the second set of images including a representation from a perspective of a respective third virtual vehicle which is not in a following situation, and each image in the second set of images associated with: a respective distance label that is a null value or infinity label indicative of a non-following situation, and a respective vehicle presence label indicating that the respective third virtual vehicle is not within the vehicle presence threshold distance of another vehicle;

generating respective vehicle presence labels and respective distance labels at the time of simulation in the virtual environment based on ground-truth relative positions of the respective first virtual vehicle and the respective second virtual vehicle, or the respective third virtual vehicle;

evaluate a following distance loss function for at least one image in the first set of images and at least one image in the second set of images, the following distance loss function including: a first term comprising the vehicle presence label multiplied by a difference between a distance indicated in a respective distance label and a determined distance between two vehicles by the model for each respective image, and a second term representing a difference between the vehicle presence label and a determined vehicle presence for each respective image; and

train the model by minimizing the following distance loss function over the first set of images and the second set of images.

2 . The system of claim 1 , wherein the processor-executable instructions further cause the system to:

determine whether auxiliary criteria are satisfied over the first set of images; and

further evaluate the following distance loss function for at least one image in the first set of images, if the auxiliary criteria are not satisfied.

3 . The system of claim 2 , wherein the auxiliary criteria require that the following distance loss function be within a maximum loss threshold for each image in the first set of images.

4 . The system of claim 2 , wherein the auxiliary criteria require that the following distance loss function be within a maximum loss threshold for a defined quantity of images in the first set of images, where the defined quantity of images is smaller than a total quantity of images in the first set of images.

5 . The system of claim 2 , wherein the auxiliary criteria require that the following distance loss function be evaluated for each image in the first set of images.

6 . The system of claim 2 , wherein the auxiliary criteria require that the following distance loss function be evaluated for a defined quantity of images in the first set of images, where the defined quantity of images is smaller than a total quantity of images in the first set of images.

7 . The system of claim 1 , wherein:

the processor-executable instructions which cause the at least one processor to generate the respective vehicle presence labels cause the at least one processor to generate the vehicle presence labels further based on vehicle lane of travel; and

for each image of the first set of images, the vehicle presence label indicates presence when both: (i) the respective first virtual vehicle is within a vehicle presence threshold distance of the respective second virtual vehicle; and (ii) the respective first virtual vehicle is travelling in a same lane of travel as the respective second virtual vehicle.

8 . The system of claim 1 , wherein the processor-executable instructions cause the at least one processor to automatically determine random positions within the virtual environment for each respective first virtual vehicle and each respective second virtual vehicle, where the random positions for are constrained such that each respective first virtual vehicle is in a same lane of travel as a corresponding second virtual vehicle.

9 . The system of claim 1 , wherein the determined vehicle presence for each respective image in the second term is determined based on at least one of:

detected lane boundaries in the respective image; and

calibrated horizontal-distance criteria between respective left-boundaries and right-boundaries of a bounding box of a respective first vehicle and image edges of the respective image.

10 . The system of claim 1 , wherein the determined vehicle presence for each respective image in the second term is a confidence value between 0 and 1 indicating a probability that the first vehicle is within the vehicle presence threshold.

11 . A method for training a model for determining a distance between two vehicles, the method comprising:

rendering image data based on simulation in a virtual environment, the image data including at least:

a first set of images, each image in the first set of images including a representation of a respective first virtual vehicle from a perspective of a respective second virtual vehicle behind the respective first virtual vehicle, and each image in the first set of images associated with a distance label indicating a distance between the respective first virtual vehicle and the respective second virtual vehicle and a respective vehicle presence label indicating that the respective first virtual vehicle is within a vehicle presence threshold distance of the respective second virtual vehicle; and

a second set of images, each image in the second set of images including a representation from a perspective of a respective third virtual vehicle which is not in a following situation, and each image in the second set of images associated with: a respective distance label that is a null value or infinity label indicative of a non-following situation, and a respective vehicle presence label indicating that the respective third virtual vehicle is not within the vehicle presence threshold distance of another vehicle;

generating respective vehicle presence labels and respective distance labels at the time of simulation in the virtual environment based on ground-truth relative position of the respective first virtual vehicle and the respective second virtual vehicle, or the respective third virtual vehicle;

evaluating a following distance loss function for at least one image in the first set of images and at least one image in the second set of images, the following distance loss function including; a first term comprising the vehicle presence label multiplied by a difference between a distance indicated in a respective distance label and a determined distance between two vehicles by the model for each respective image, and a second term representing a difference between the vehicle presence label and a determined vehicle presence for each respective image; and

training the model by minimizing the following distance loss function over the first set of images and the second set of images.

12 . The method of claim 11 , further comprising:

determining whether auxiliary criteria are satisfied over the first set of images; and

further evaluating the following distance loss function for at least one image in the first set of images, if the auxiliary criteria are not satisfied.

13 . The method of claim 12 , wherein the auxiliary criteria require that the following distance loss function be within a maximum loss threshold for each image in the first set of images.

14 . The method of claim 12 , wherein the auxiliary criteria require that the following distance loss function be within a maximum loss threshold for a defined quantity of images in the first set of images, where the defined quantity of images is smaller than a total quantity of images in the first set of images.

15 . The method of claim 12 , wherein the auxiliary criteria require that the following distance loss function be evaluated for each image in the first set of images.

16 . The method of claim 12 , wherein the auxiliary criteria require that the following distance loss function be evaluated for a defined quantity of images in the first set of images, where the defined quantity of images is smaller than a total quantity of images in the first set of images.

17 . The method of claim 11 , wherein:

generating the respective vehicle presence labels comprises generating the vehicle presence labels further based on vehicle lane of travel; and

for each image of the first set of images, the vehicle presence label indicates presence when both: (i) the respective first virtual vehicle is within a vehicle presence threshold distance of the respective second virtual vehicle; and (ii) the respective first virtual vehicle is travelling in a same lane of travel as the respective second virtual vehicle.

18 . The method of claim 11 , further comprising automatically determining random positions within the virtual environment for each respective first virtual vehicle and each respective second virtual vehicle, where the random positions for are constrained such that each respective first virtual vehicle is in a same lane of travel as a corresponding second virtual vehicle.

19 . The method of claim 11 , wherein the determined vehicle presence for each respective image in the second term is determined based on at least one of:

detected lane boundaries in the respective image; and

calibrated horizontal-distance criteria between respective left-boundaries and right-boundaries of a bounding box of a respective first virtual vehicle and image edges of the respective image.

20 . The method of claim 11 , wherein the determined vehicle presence for each respective image in the second term is a confidence value between 0 and 1 indicating a probability that the respective first virtual vehicle is within the vehicle presence threshold.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 12, 2023
From: SAURAV, SHASHANK; SIDDIQUE, JAVED; SIDDIQUE, MOHAMMED SOHAIL
To: GEOTAB INC.
Reel/Frame 064227/0063 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 12, 2023
From: MAZUMDER, JOY
To: GEOTAB INC.
Reel/Frame 063304/0976 →
Continuity (2)
Provisional Application 63456179 · Mar 31, 2023
Related Publication 20240331186A1 · Oct 3, 2024
References Cited (102)
US 6950788B2 · Faghri · 2005 [cited by applicant]
US 7505841B2 · Sun et al. · 2009 [cited by applicant]
US 7676087B2 · Dhua et al. · 2010 [cited by applicant]
US 9405970B2 · Israel · 2016 [cited by applicant]
US 9489635B1 · Zhu · 2016 [cited by applicant]
US 9734717B1 · Surpi · 2017 [cited by applicant]
US 10276212B2 · Richardson · 2019 [cited by applicant]
US 10395540B2 · Surpi · 2019 [cited by applicant]
US 10431089B1 · Nguyen · 2019 [cited by applicant]
US 10496891B2 · Sai · 2019 [cited by applicant]
US 10728420B2 · Popa · 2020 [cited by applicant]
US 10766489B2 · Tuncali et al. · 2020 [cited by applicant]
US 10818109B2 · Palmer et al. · 2020 [cited by applicant]
US 10997434B2 · Kurian et al. · 2021 [cited by applicant]
US 11017244B2 · Xue · 2021 [cited by applicant]
US 11138751B2 · Guizilini · 2021 [cited by examiner]
US 11257272B2 · Rowell et al. · 2022 [cited by applicant]
US 11336867B2 · Meier et al. · 2022 [cited by applicant]
US 11373411B1 · Goh · 2022 [cited by applicant]
US 11521009B2 · Peake et al. · 2022 [cited by applicant]
US 11544935B2 · Chen · 2023 [cited by applicant]
US 11615628B2 · Tsurumi · 2023 [cited by applicant]
US 11643102B1 · Calmer et al. · 2023 [cited by applicant]
US 11683579B1 · Symons et al. · 2023 [cited by applicant]
US 11704910B2 · Endo et al. · 2023 [cited by applicant]
US 11758096B2 · Shah et al. · 2023 [cited by applicant]
US 11866055B1 · Srinivasan et al. · 2024 [cited by applicant]
US 11989001B1 · Eihattab et al. · 2024 [cited by applicant]
US 11989949B1 · Mazumder et al. · 2024 [cited by applicant]
US 11995546B1 · Srinivasan et al. · 2024 [cited by applicant]
US 12125222B1 · Ivascu et al. · 2024 [cited by applicant]
US 20050090983A1 · Isaji et al. · 2005 [cited by applicant]
US 20050125121A1 · Isaji et al. · 2005 [cited by applicant]
US 20050259033A1 · Levine · 2005 [cited by applicant]
US 20060273922A1 · Bhogal et al. · 2006 [cited by applicant]
US 20100110176A1 · Aoyama · 2010 [cited by applicant]
US 20120119894A1 · Pandy · 2012 [cited by applicant]
US 20120239268A1 · Chen et al. · 2012 [cited by applicant]
US 20130057397A1 · Cutler et al. · 2013 [cited by applicant]
US 20130107051A1 · Maruoka et al. · 2013 [cited by applicant]
US 20140195093A1 · Litkouhi et al. · 2014 [cited by applicant]
US 20140222280A1 · Salomonsson et al. · 2014 [cited by applicant]
US 20160019791A1 · Lin · 2016 [cited by applicant]
US 20160167514A1 · Nishizaki et al. · 2016 [cited by applicant]
US 20160170487A1 · Saisho · 2016 [cited by applicant]
US 20160280132A1 · Palanimuthu · 2016 [cited by applicant]
US 20160343145A1 · Israel · 2016 [cited by applicant]
US 20170261747A1 · Acklin · 2017 [cited by applicant]
US 20170305419A1 · Liebinger Portela et al. · 2017 [cited by applicant]
US 20170326981A1 · Masui et al. · 2017 [cited by applicant]
US 20170327037A1 · Prakah-Asante et al. · 2017 [cited by applicant]
US 20170369055A1 · Saigusa et al. · 2017 [cited by applicant]
US 20180001899A1 · Shenoy et al. · 2018 [cited by applicant]
US 20190001977A1 · Lin et al. · 2019 [cited by applicant]
US 20190232961A1 · Baier et al. · 2019 [cited by applicant]
US 20190256105A1 · Parat et al. · 2019 [cited by applicant]
US 20190389487A1 · Gowda et al. · 2019 [cited by applicant]
US 20200020121A1 · Rawashdeh · 2020 [cited by applicant]
US 20200238991A1 · Aragon et al. · 2020 [cited by applicant]
US 20200342760A1 · Vassilovski et al. · 2020 [cited by applicant]
US 20210224560A1 · Kim et al. · 2021 [cited by applicant]
US 20210356696A1 · Kamada et al. · 2021 [cited by applicant]
US 20210365696A1 · He et al. · 2021 [cited by applicant]
US 20210366144A1 · Magistri et al. · 2021 [cited by applicant]
US 20210370969A1 · Hegde et al. · 2021 [cited by applicant]
US 20220009488A1 · Li · 2022 [cited by applicant]
US 20220172396A1 · Okuma · 2022 [cited by applicant]
US 20220244142A1 · Breton · 2022 [cited by applicant]
US 20220245955A1 · Freeman et al. · 2022 [cited by applicant]
US 20220284623A1 · Kumar · 2022 [cited by examiner]
US 20220371534A1 · Zheng · 2022 [cited by applicant]
US 20220379889A1 · Akella et al. · 2022 [cited by applicant]
US 20230038842A1 · Ruichi · 2023 [cited by applicant]
US 20230077207A1 · Hassan · 2023 [cited by examiner]
US 20230102113A1 · Magistri · 2023 [cited by applicant]
US 20230159031A1 · Hu et al. · 2023 [cited by applicant]
US 20230169793A1 · Ogino · 2023 [cited by applicant]
US 20230206466A1 · Todoran et al. · 2023 [cited by applicant]
US 20230227058A1 · Julian et al. · 2023 [cited by applicant]
US 20230273033A1 · Kim et al. · 2023 [cited by applicant]
US 20230286498A1 · Oguri et al. · 2023 [cited by applicant]
US 20230290002A1 · Yang et al. · 2023 [cited by applicant]
US 20230382380A1 · Herrero Zarzosa · 2023 [cited by applicant]
US 20230394843A1 · Lee et al. · 2023 [cited by applicant]
US 20240005675A1 · Lelowicz et al. · 2024 [cited by applicant]
US 20240059291A1 · Saylor et al. · 2024 [cited by applicant]
CA 3008091A1 · 2018 [cited by examiner]
CN 110745140B · 2021 [cited by applicant]
CN 113421298A · 2021 [cited by examiner]
CN 113591518A · 2021 [cited by examiner]
CN 115035251A · 2022 [cited by applicant]
EP 3855409A1 · 2021 [cited by applicant]
JP H04205825A · 1992 [cited by applicant]
JP 4205825B2 · 2009 [cited by applicant]
KR 20120021445A · 2012 [cited by applicant]
KR 20220119396A · 2022 [cited by applicant]
WO WO2015134376A1 · 2015 [cited by examiner]
WO 2021253245A1 · 2021 [cited by applicant]
Extended European Search Report for European Application No. 24165653.7, mailed Sep. 12, 2024, 8 pages. [cited by applicant]
Extended European Search Report for European Application No. 24165655.2, mailed Aug. 27, 2024, 134 pages. [cited by applicant]
Meftah et al., “A Virtual Simulation Environment Using Deep Learning for Autonomous Vehicles Obstacle Avoidance,” 2020 IEEE International Conference on Intelligence and Security Informatics (ISI), 2020, 7 Pages. [cited by applicant]
Tram et al (“Vehicle to Vehicle Distance Estimation Using Camera based Visible Light Communications”, IEEE 2017, pp. 517-519) (Year: 2017). [cited by applicant]
Cited By (2)
US 12,737,903 US 12,738,071