US 11,727,191 B2
Process for highlighting text with varied orientation
Mohit Sajwan, Pune (IN)
Assigned to Schlumberger Technology Corporation, Sugar Land, TX (US)
Appl. No. 17/595,437
Filed by Schlumberger Technology Corporation, Sugar Land, TX (US)
PCT Filed May 21, 2020, PCT No. PCT/US2020/033906
§ 371(c)(1), (2) Date Nov. 17, 2021,
PCT Pub. No. WO2020/236997, PCT Pub. Date Nov. 26, 2020.
Claims priority of application No. 201921020069 (IN), filed on May 21, 2019.
Prior Publication US 2022/0253587 A1, Aug. 11, 2022
Int. Cl. G06F 17/00 (2019.01); G06F 40/106 (2020.01); G06F 40/166 (2020.01); G06V 30/413 (2022.01); G06V 30/146 (2022.01); G06T 11/60 (2006.01)
CPC G06F 40/106 (2020.01) [G06F 40/166 (2020.01); G06T 11/60 (2013.01); G06V 30/1478 (2022.01); G06V 30/413 (2022.01)] 19 Claims
OG exemplary drawing
 
1. A computer-implemented method for highlighting text in an image disposed in a markup language document, the method comprising:
obtaining, by a processor, location data identifying a location, size and orientation of a text element in the image, wherein the text element is oriented in a direction that is non-orthogonal to vertical and horizontal axes of the image;
obtaining, by the processor, a context for a canvas element in the document;
rotating, by the processor, the context for the canvas element to align the context to the orientation of the text element using the location data;
translating, by the processor, the context for the canvas element to the location of the text element using the location data; and
generating, by the processor, a text highlighting element having a size that at least partially overlays the text element on the rotated and translated canvas using the location data.