-
Notifications
You must be signed in to change notification settings - Fork 873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduced copy text from image feature on macOS #16508
Merged
Merged
Commits on Jan 13, 2023
-
Introduced copy text from image feature on macOS
fix brave/brave-browser#27513 "Copy Text From Image" entry is added to render view's context menu. It gets bitmap data from renderer via LocalFrame::GetImage() mojom interface, and then passed it to TextRecognitionDialog to extract and show text from that image.
Configuration menu - View commit details
-
Copy full SHA for 9cf444c - Browse repository at this point
Copy the full SHA 9cf444cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3cccf6 - Browse repository at this point
Copy the full SHA f3cccf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e7c139 - Browse repository at this point
Copy the full SHA 9e7c139View commit details -
Tracks text recognition dialog is already active or not for each tab
If renderer is busy or on slow machine, copy image could take some time. In that situation, user could ask copy text menu multiple times. And then, browser would get multiple copied image from renderer. When it happens, use same dialog and show lastly recognized text in dialog instead of creating multiple dialogs.
Configuration menu - View commit details
-
Copy full SHA for 6d5d605 - Browse repository at this point
Copy the full SHA 6d5d605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cdd8b1 - Browse repository at this point
Copy the full SHA 7cdd8b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4b3dd8 - Browse repository at this point
Copy the full SHA b4b3dd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a055c91 - Browse repository at this point
Copy the full SHA a055c91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58f54ea - Browse repository at this point
Copy the full SHA 58f54eaView commit details -
Added TextRecognitionBrowserTest browser test
This test extract "brave" text from test image.
Configuration menu - View commit details
-
Copy full SHA for 8e18d4a - Browse repository at this point
Copy the full SHA 8e18d4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6855228 - Browse repository at this point
Copy the full SHA 6855228View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.