
or choose your own image 107 | 108 |
├── .gitattributes ├── .github └── FUNDING.yml ├── LICENSE ├── README.md ├── images └── Funny-Minion-Quotes.jpg ├── index.html ├── js ├── tesseract-core.asm.js ├── tesseract-core.wasm.js ├── tesseract-ocr.js └── tesseract.min.js └── style └── ocr.css /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | ko_fi: bensonruan 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Benson Ruan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tesseract OCR 2 | Extract text from image in browser using javascript library tesseract.js 3 | 4 | ## Live Demo 5 | **[https://bensonruan.com/image-to-text-ocr-with-tesseract-js/](https://bensonruan.com/image-to-text-ocr-with-tesseract-js/)** 6 | 7 |  8 | 9 | ## Installing 10 | Clone this repository to your local computer 11 | ``` bash 12 | git https://github.com/bensonruan/Tesseract-OCR.git 13 | ``` 14 | Point your localhost to the cloned root directory 15 | 16 | Browse to http://localhost/index.html 17 | 18 | 19 | ## Library 20 | * [jquery](https://code.jquery.com/jquery-3.3.1.min.js) - JQuery 21 | * [tesseract.js](https://github.com/naptha/tesseract.js) - Javascript library that gets words in almost any language out of images 22 | 23 | 24 | ## Support me 25 | [](https://ko-fi.com/W7W6METMY) 26 | -------------------------------------------------------------------------------- /images/Funny-Minion-Quotes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bensonruan/Tesseract-OCR/d1eddc50a5899167aa2ad51327e023b9050394bd/images/Funny-Minion-Quotes.jpg -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 |