US 9,811,885 B2
Detecting glare in a frame of image data
Konstantin Bocharov, Moscow (RU); and Mikhail Kostyukov, Moscow (RU)
Assigned to ABBYY DEVELOPMENT LLC, Moscow (RU)
Filed by ABBYY Development LLC, Moscow (RU)
Filed on Aug. 4, 2016, as Appl. No. 15/228,458.
Application 15/228,458 is a continuation of application No. 14/564,424, filed on Dec. 9, 2014, granted, now 9,418,407, issued on Aug. 16, 2016.
Application 14/564,424 is a continuation in part of application No. 13/305,768, filed on Nov. 29, 2011, granted, now 8,928,763, issued on Jan. 6, 2015.
Application 13/305,768 is a continuation in part of application No. 12/330,771, filed on Dec. 9, 2008, granted, now 8,098,303, issued on Jan. 17, 2012.
Prior Publication US 2017/0039684 A1, Feb. 9, 2017
This patent is subject to a terminal disclaimer.
Int. Cl. G06T 5/00 (2006.01); G06K 9/40 (2006.01); G06K 9/46 (2006.01); G06K 9/52 (2006.01)
CPC G06T 5/002 (2013.01) [G06K 9/40 (2013.01); G06K 9/4642 (2013.01); G06K 9/522 (2013.01); G06T 5/003 (2013.01); G06T 5/005 (2013.01); G06T 2207/20021 (2013.01); G06T 2207/20024 (2013.01); G06T 2207/20056 (2013.01); G06T 2207/20201 (2013.01)] 37 Claims
OG exemplary drawing
1. A method for detecting glare in a frame of image data, the method comprising:
preprocessing the frame of the image data;
determining a set of connected components in the preprocessed frame;
calculating a set of statistics for one or more connected components in the set of connected components, wherein calculating the set of statistics comprises gathering statistics of directions and values of gradients of intensity along a perimeter of a connected component of the one or more connected components;
making a decision for the one or more connected components, using the calculated set of statistics, if the connected component is a light spot; and
determining, using a processor, whether the frame comprises the glare in view of the decision for the one or more connected components.