US 12,289,457 B2
Encoding a video frame using different compression ratios for text blocks and non-text blocks
Daniele Moro, Boise, ID (US); Claudionor Coelho, Redwood City, CA (US); Sean R. Purser-Haskell, Fremont, CA (US); Hao Zhuang, San Jose, CA (US); and Stan Vitvitskyy, San Jose, CA (US)
Assigned to Google LLC, Mountain View, CA (US)
Appl. No. 18/252,158
Filed by Google LLC, Mountain View, CA (US)
PCT Filed Nov. 9, 2020, PCT No. PCT/US2020/059665
§ 371(c)(1), (2) Date May 8, 2023,
PCT Pub. No. WO2022/098367, PCT Pub. Date May 12, 2022.
Prior Publication US 2023/0412821 A1, Dec. 21, 2023
Int. Cl. H04N 19/176 (2014.01); G06T 7/11 (2017.01); G06V 10/764 (2022.01); G06V 30/414 (2022.01); H04N 19/154 (2014.01)
CPC H04N 19/176 (2014.11) [G06T 7/11 (2017.01); G06V 10/764 (2022.01); G06V 30/414 (2022.01); H04N 19/154 (2014.11)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for compressing a video file, the method comprising:
determining, using a machine-learned model and for each block of multiple blocks of which a frame of the video file is composed, text blocks and non-text blocks, the text blocks classified by the machine-learned model as including at least some text and the non-text blocks classified by the machine-learned model as not including text;
generating a segment map of the frame, the segment map identifying the text blocks or the non-text blocks of the frame; and
encoding, based on the segment map, the frame to generate an encoded frame of the video file in which the text blocks are encoded using a first compression ratio, a first subset of the non-text blocks are encoded using a second compression ratio, and a second subset of the non-text blocks are encoded using a third compression ratio, the first compression ratio resulting in higher video quality than the second compression ratio and the second compression ratio resulting in higher video quality than the third compression ratio.