Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayushmankumar7/ocr_gif
This is a sample project for extracting texts from a GIF.
https://github.com/ayushmankumar7/ocr_gif
pillow python3 tesseract-ocr
Last synced: about 1 month ago
JSON representation
This is a sample project for extracting texts from a GIF.
- Host: GitHub
- URL: https://github.com/ayushmankumar7/ocr_gif
- Owner: ayushmankumar7
- Created: 2020-01-14T17:47:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:26:25.000Z (about 2 years ago)
- Last Synced: 2024-10-15T22:46:21.409Z (3 months ago)
- Topics: pillow, python3, tesseract-ocr
- Language: Python
- Homepage:
- Size: 2.48 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OCR_GIF
This is a sample project for extracting texts from a GIF and other images too.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Prerequisites
What things you need to install the software and how to install them
```
Python3
Virtual Environment
```### Installing
A step by step series of examples that tell you how to get a development env running
Say what the step will be
For Linux and MacOS
```
pip3 install virtualenv
virtualenv ORCtesse
source ORCtesse/bin/avtivate
pip3 install -r requirements.txt
```For Windows
```
pip install virtualenv
virtualenv ORCtesse
ORCtesse\Script\activate
pip install -r requirements.txt
```
## Running the testsFor Linux and MacOS
```
python3 main.py
```
For Windows```
python main.py
```For using your custom image or GIF.
```
python3 main.py --i [ file name ]
```
Exmaple:
```
python3 main.py --i textimg.png
```
## Built With* [Python3](http://www.python.org) - The Programming Langauge used
* [Pytesseract](https://github.com/madmaze/pytesseract) - ORC Algorithm
* [Pillow](https://github.com/python-pillow/Pillow) - Image reading library## Authors
* **Ayushman Kumar** - *Initial work* - [ayushmankumar7](https://github.com/ayushmankumar7)
## Acknowledgments
* Hat tip to anyone whose code was used
* Inspiration