Skip to content

rinormaloku/textocry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Textocry - Copy Text from Images

Licensed under the MIT License

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.

Textocry usage

Using Textocry

Once installed from Chrome Webstore, the usage is simple:

  1. Click the icon Textocry icon.
  2. Crop the area containing the text. Wait until Tesseract recognizes the text... and done!
  3. 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

  1. Enter in the Address bar chrome://extensions.
  2. 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

License

Copyright (c) 2018-present Rinor Maloku.

Licensed under the MIT License.