US 11,861,923 B2
Methods, apparatuses, and computer-readable storage media for image-based sensitive-text detection
Zhiwei Shang, Waterloo (CA); Tongyu Ge, Waterloo (CA); and Zhijun Mo, Waterloo (CA)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
Filed on Dec. 31, 2021, as Appl. No. 17/566,817.
Prior Publication US 2023/0215202 A1, Jul. 6, 2023
Int. Cl. G06V 30/19 (2022.01); H04N 1/44 (2006.01); G06V 30/12 (2022.01); G06V 30/164 (2022.01)
CPC G06V 30/19093 (2022.01) [G06V 30/12 (2022.01); G06V 30/164 (2022.01); H04N 1/448 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method comprising:
recognizing a text string from a signal;
detecting, from the text string, a substring of a sensitive-text type based on a similarity between the substring and a regular expression, the regular expression defining a pattern for searching a text string and finding substrings matching the pattern; and
modifying the signal by removing information related to the detected substring from the signal;
wherein said detecting the substring comprises:
detecting, from the text string, the substring if an edit distance between the substring and the regular expression is smaller than a predefined threshold.