Bug 414338 - [Feature Request] Add in support for automatic OCR
Summary: [Feature Request] Add in support for automatic OCR
Status: RESOLVED INTENTIONAL
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-20 18:49 UTC by Steven Hicks
Modified: 2019-11-20 23:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Hicks 2019-11-20 18:49:31 UTC
Expectations:
 - Provide a configurable option to enable/disable it
 - Automatic scanning of a fresh screenshot for text
 - Highlight text sections 
 - Enable the user to mouse over the sections and select the text in the image
Comment 1 Nate Graham 2019-11-20 22:32:25 UTC
Interesting idea, but I'm afraid this super duper out of scope for Spectacle. And it's not even necessary in the first place for most use cases: if you're taking a screenshot of some text element on the screen, presumably it's *already* selectable, so there's no need to take a screenshot, just copy the text and paste it elsewhere.

For cases where you want to take a screenshot of a piece of non-selectable text (for example, maybe a digitally-scanned document in the form of JPEG files, or on a website) you'd be better off taking the source image itself and feeding it into an OCR program.
Comment 2 Steven Hicks 2019-11-20 22:55:38 UTC
I wasn't suggesting that this is a required feature. It would be a nice feature for it. I'm asking for something like how Google lens takes care of photos with text. (It'll allow for you to select and extract the text from the image)
Comment 3 Nate Graham 2019-11-20 23:00:10 UTC
I'm afraid we don't have the resources of a company like Google to implement something like that.

And as I said, this proposal is pretty far out of scope for Spectacle. Spectacle aspires to be a screenshot app. IMO if any app would be the right place for this, it would be Skanlite, and that app would gain a "capture from screen" mode or something. However not even Skanlite has OCR, so that may give you an idea of our capacity to implement this kind of feature.

Sorry, I don't think we will be able to do this. Of course we welcome patches if someone else wants to implement it. :)