Bug 233009 - [Live Text] Augment TextRecognitionResult with a new type of text recognition data
Summary: [Live Text] Augment TextRecognitionResult with a new type of text recognition...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-11 13:03 PST by Wenson Hsieh
Modified: 2021-11-11 14:44 PST (History)
5 users (show)

See Also:


Attachments
Patch (4.35 KB, patch)
2021-11-11 13:07 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2021-11-11 13:03:47 PST
Add `TextRecognitionBlockData`, which represents a whole paragraph of recognized text. Unlike the existing `TextRecognitionLineData`, this structure does not contain data for individual child text elements, and is instead intended to represent a granular block of text from VisionKit.
Comment 1 Wenson Hsieh 2021-11-11 13:07:09 PST
Created attachment 443994 [details]
Patch
Comment 2 Devin Rousso 2021-11-11 13:21:16 PST
Comment on attachment 443994 [details]
Patch

rs=me
Comment 3 Wenson Hsieh 2021-11-11 13:53:01 PST
Comment on attachment 443994 [details]
Patch

Thanks for the review!
Comment 4 EWS 2021-11-11 14:43:58 PST
Committed r285670 (244157@main): <https://commits.webkit.org/244157@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 443994 [details].
Comment 5 Radar WebKit Bug Importer 2021-11-11 14:44:20 PST
<rdar://problem/85316580>