Textocry - Copy Text from Images
Textocry is a chrome extension to copy text from images using the best open source OCR engine Tesseract.js.
As a developer you don't always find the code in text format, quite often it's another one:
- Video format - youtube / pluralsight tutorial.
- Image format - from lazy friends or lazy bloggers.
In every instance you need to write it down character by character. Using Textocry you can just select the area with the text and let Tesseract extract the text, as shown below.
Using Textocry
Once installed from Chrome Webstore, the usage is simple:
- Click the icon .
- Crop the area containing the text. Wait until Tesseract recognizes the text... and done!
- The text is in your clipboard.
Ctrl + V
to paste it!
Building Textocry
Once you clone the codebase in the root directory execute:
$ npm install
$ npm run webpack
Webpack will bundle the Javascript files into ./dist/main.js
which will be used as starting point for the extension.
Loading Textocry into the browser
- Enter in the Address bar
chrome://extensions
. - Click
Load unpacked
and select the root folder.
Done!
Credits
This tool is build with help of:
- Tesseract.js - does the actual OCR:
- @simo - creater of the Screenshot Capture extension, used as a starting point for our codebase.
Feedback
- Request features or file bugs on GitHub.
- Write in our Google Group.
- Tweet me about any other feedback.
License
Copyright (c) 2018-present Rinor Maloku.
Licensed under the MIT License.