Skip to content

OCR - Object Character Recognition for any image you browse upon

License

Notifications You must be signed in to change notification settings

gnonio/korporize

Repository files navigation

korporize

korpora - OCR - Optical Character Recognition

Offline text recognition from any image. This web extension will enable context menu access to extract text from any image while browsing. Builds upon Tesseract.js


Install

Alternate install for advanced users


Usage

  • Right click over an image in a web page
  • Select "Extract Text from Image"
  • A popup will open with korporize interface
  • Wait for tesseract to work in the background
  • Obtain results in korporize panel
  • (Optional) copy results to clipboard

To obtain good results:

  • make sure the automatic language detected is suitable for the characters in the image loaded
  • force another language via Options page
  • increase quality in Options page (try Normal or Best - both will take longer)
  • make sure you have a suitable page segmentation for the image (will make this choice handier in future releases)
  • choose a high resolution version of the image

Features

  • Extracts text from any image while browsing
  • Works offline (requires network only the first time a language is used to cache the dictionaries)
  • Automatic language detection (based on the visited web page)
  • Prevents downloading twice already loaded images

Notes

  • Careful with the size of language dictionaries
  • Expect around 8Mb for Normal and 12Mb for Best Quality per language
  • Aside from above dictionaries no other data is ever stored by korporize

Todo

  • Many other options for accessing Tesseract functionality (image from link, PDF load and save, etc...)
  • Preloading of language dictionaries (via Options page)
  • Provide some cache management options
  • Provide access as an API for other webextensions