ADVANCED PATH PREDICTION
The present disclosure provides systems and methods for mapping a determined path of travel. The path of travel may be mapped to a camera view of a camera affixed to a vehicle. In some embodiments, the path of travel may be mapped to another view that is based on a camera, such as a bird's eye view anchored to the camera's position at a given time. These systems and methods may determine the path of travel by incorporating data from later points in time.
1 . A method of processing a camera frame in a mobile device, the method comprising:
capturing the camera frame using a camera mounted on a vehicle traveling on a road;
receiving the camera frame from the camera;
determining a drivable path of the vehicle;
projecting the drivable path onto the camera frame;
partitioning a part of the camera frame containing the drivable path into at least one section based on a distance from the vehicle to each of the at least one section; and
determining a resolution for processing of each of the at least one section based on the distance from the vehicle to each of the at least one section.
2 . The method of claim 1 , further comprising:
determining the drivable path by using a map of the road.
3 . The method of claim 1 , further comprising:
determining the drivable path of the vehicle by using a sensor on the vehicle.
4 . The method of claim 1 , further comprising:
determining a section of the camera frame that does not contain the drivable path.
5 . The method of claim 4 , further comprising:
discarding the section of the camera frame that does not contain the drivable path.
6 . The method of claim 1 , further comprising:
processing information in each of the at least one section using the determined resolution for processing.
7 . The method of claim 3 , further comprising:
determining a position of the vehicle, an orientation of the vehicle or a velocity of the vehicle by using the sensor.
8 . The method of claim 7 , wherein the drivable path of the vehicle is determined based on the position of the vehicle, the orientation of the vehicle or the velocity of the vehicle.
9 . The method of claim 3 , wherein the part of the camera frame containing the drivable path is partitioned into the at least one section based on a condition of the road.
10 . A device comprising: a memory; and a processor communicatively coupled to the memory, the processor configured to:
receive a camera frame from a camera mounted on a vehicle traveling on a road; determine a drivable path of the vehicle;
project the drivable path onto the camera frame;
partition a part of the camera frame containing the drivable path into at least one section based on a distance from the vehicle to each of the at least one section; and
determine a resolution for processing of each of the at least one section based on the distance from the vehicle to each of the at least one section.
11 . The device of claim 10 , wherein the processor is configured to determine the drivable path by using a map of the road.
12 . The device of claim 10 , wherein the processor is configured to determine the drivable path of the vehicle by using a sensor on the vehicle.
13 . The device of claim 10 , wherein the processor is configured to determine a section of the camera frame that does not contain the drivable path.
14 . The device of claim 13 , wherein the processor is configured to discard the section of the camera frame that does not contain the drivable path.
15 . The device of claim 10 , wherein the processor is configured to process information in each of the at least one section using the determined resolution for processing.
16 . The device of claim 12 , wherein the processor is further configured to determine a position of the vehicle, an orientation of the vehicle or a velocity of the vehicle by using the sensor.
17 . The device of claim 16 , wherein the drivable path of the vehicle is determined based on the position of the vehicle, the orientation of the vehicle or the velocity of the vehicle.
18 . The device of claim 12 , wherein the processor is further configured to partition the part of the camera frame containing the drivable path into the at least one section based on a condition of the road.
19 . A non-transitory computer-readable storage medium comprising code, which, when executed by a processor, causes the processor to process a camera frame in a device, the non-transitory computer-readable storage medium comprising code for:
capturing the camera frame using a camera mounted on a vehicle traveling on a road;
receiving the camera frame from the camera; determining a drivable path of the vehicle;
projecting the drivable path onto the camera frame;
partitioning a part of the camera frame containing the drivable path into at least one section based on a distance from the vehicle to each of the at least one section; and
determining a resolution for processing of each of the at least one section based on the distance from the vehicle to each of the at least one section.
20 . The non-transitory computer-readable storage medium of claim 19 , further comprising code for determining the drivable path by using a map of the road.
21 . The non-transitory computer-readable storage medium of claim 19 , further comprising code for determining the drivable path of the vehicle using a sensor on the vehicle.
22 . The non-transitory computer-readable storage medium of claim 19 , further comprising code for determining a section of the camera frame that does not contain the drivable path.
23 . The non-transitory computer-readable storage medium of claim 22 , further comprising code for discarding the section of the camera frame that does not contain the drivable path.
24 . The non-transitory computer-readable storage medium of claim 19 , further comprising code for processing information in each of the at least one section using the determined resolution for processing.