This application relates to U.S. Provisional Application No. 62/571,884, filed Oct. 13, 2017, which relates to U.S. U.S. Ser. No. 16/106,777, filed Aug. 21, 2018, which relates to Provisional Application No. 62/548,548, filed Aug. 22, 2017. This application also relates to U.S. Ser. No. 15/618,286, filed Jun. 9, 2017. This application also relates to U.S. Ser. No. 15/591,459, filed May 10, 2017. Each of the mentioned applications are hereby incorporated by reference in their entirety.

FIELD OF THE INVENTION

The invention relates to video capture generally and, more particularly, to a method and/or apparatus for implementing a dynamic partitioning of input frame buffer to optimize resources of an object detection and recognition system.

BACKGROUND

Real time video metadata extraction algorithms are system intensive and must process details from a video frame in a fixed amount of time to free up resources needed to analyze the next incoming video frame.

Typical dash camera systems are mounted on the front of a windshield of a vehicle at the center of the vehicle. The standard dash camera application is intended to capture mishaps and accidents that may occur on the roadway, especially as these incidents relate to damage to the vehicle hosting the dash camera. With these goals and mounting location in mind, it is advantageous to have a field of view (FOV) of the dash camera that is as wide as possible. The typical dash camera application will utilize an image sensor with 16:9 aspect ratio (with the wider dimension horizontal) and have a 140 to 180 degree wide angle lens attached. Using the wide angle lens has the advantage of capturing activity on both sides of the vehicle (as well as straight ahead) but has the disadvantage of capturing a large portion of the video frame as the vehicle hood and the sky. Objects of interest (such as collisions, road signs, other vehicles, pedestrians, etc.) are not generally located on the vehicle hood or the sky. However, sometimes objects of interest are located in the sky.

It would be desirable to implement a hood detection scheme used to optimize buffer size used for automobile metadata extraction.

SUMMARY

The invention concerns an apparatus comprising a processor and a memory. The processor may be configured to (i) receive video frames captured by a capture device and (ii) perform video analysis on the video frames to extract metadata corresponding to objects detected in the video frames. The memory may be configured to (i) store co-ordinates corresponding to a plurality of regions of the video frames and (ii) provide temporary storage for the video frames to enable the processor to perform the video analysis. The video analysis may perform a different amount of processing for detecting the objects on each of the plurality of regions. One of the regions corresponds to a portion of the video frame comprising a hood of a vehicle.

