Detecting and responding to an out-of-focus camera in a video analytics system
First Claim
1. A computer-implemented method for detecting a camera being out-of-focus, the method comprising:
- receiving a video frame;
performing a pyramid image decomposition on the video frame, the pyramid image decomposition being performed using a multi-level wavelet transform;
determining sharp edge areas, candidate blurry edge areas, and blurry edge areas in each level of the pyramid image decomposition, wherein the sharp edge areas are areas including edges with either a Dirac or an Astep structure;
determining a sharpness value based on at least the sharp edge areas, the sharpness value indicating an overall sharpness of the video frame;
determining a blurriness value based on at least the blurry edge areas and the candidate blurry edge areas, the blurriness value indicating an overall blurriness of the video frame; and
determining, based on the sharpness value and the blurriness value, whether the video frame is out-of-focus.
69 Assignments
0 Petitions
Accused Products
Abstract
Techniques are disclosed for detecting an out-of-focus camera in a video analytics system. In one embodiment, a preprocessor component performs a pyramid image decomposition on a video frame captured by a camera. The preprocessor further determines sharp edge areas, candidate blurry edge areas, and actual blurry edge areas, in each level of the pyramid image decomposition. Based on the sharp edge areas, the candidate blurry edge areas, and actual blurry edge areas, the preprocessor determines a sharpness value and a blurriness value which indicate the overall sharpness and blurriness of the video frame, respectively. Based on the sharpness value and the blurriness value, the preprocessor further determines whether the video frame is out-of-focus and whether to send the video frame to components of a computer vision engine and/or a machine learning engine.
-
Citations
17 Claims
-
1. A computer-implemented method for detecting a camera being out-of-focus, the method comprising:
-
receiving a video frame; performing a pyramid image decomposition on the video frame, the pyramid image decomposition being performed using a multi-level wavelet transform; determining sharp edge areas, candidate blurry edge areas, and blurry edge areas in each level of the pyramid image decomposition, wherein the sharp edge areas are areas including edges with either a Dirac or an Astep structure; determining a sharpness value based on at least the sharp edge areas, the sharpness value indicating an overall sharpness of the video frame; determining a blurriness value based on at least the blurry edge areas and the candidate blurry edge areas, the blurriness value indicating an overall blurriness of the video frame; and determining, based on the sharpness value and the blurriness value, whether the video frame is out-of-focus. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium storing instructions, which when executed by a computer system, perform operations for detecting a camera being out-of-focus, the operations comprising:
-
receiving a video frame; performing a pyramid image decomposition on the video frame, the pyramid image decomposition being performed using a multi-level wavelet transform; determining sharp edge areas, candidate blurry edge areas, and blurry edge areas in each level of the pyramid image decomposition, wherein the sharp edge areas are areas including edges with either a Dirac or an Astep structure; determining a sharpness value based on at least the sharp edge areas, the sharpness value indicating an overall sharpness of the video frame; determining a blurriness value based on at least the blurry edge areas and the candidate blurry edge areas, the blurriness value indicating an overall blurriness of the video frame; and determining, based on the sharpness value and the blurriness value, whether the video frame is out-of-focus. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A system, comprising:
-
a processor; and a memory, wherein the memory includes an application program configured to perform operations for detecting a camera being out-of-focus, the operations comprising; receiving a video frame, performing a pyramid image decomposition on the video frame, the pyramid image decomposition being performed using a multi-level wavelet transform, determining sharp edge areas, candidate blurry edge areas, and blurry edge areas in each level of the pyramid image decomposition, wherein the sharp edge areas are areas including edges with either a Dirac or an Astep structure, determining a sharpness value based on at least the sharp edge areas, the sharpness value indicating an overall sharpness of the video frame, determining a blurriness value based on at least the blurry edge areas and the candidate blurry edge areas, the blurriness value indicating an overall blurriness of the video frame, and determining, based on the sharpness value and the blurriness value, whether the video frame is out-of-focus.
-
Specification