https://github.com/mohdsaif-1807/ocr-text-scanner
OCR-Text-Scanner is an application that extracts and displays data from images of Indian passports and driving licenses (Maharashtra-specific). Built with a Flask backend utilizing Tesseract for OCR and regex for data extraction, it features a user-friendly frontend developed in React and Tailwind CSS. This tool simplifies retrieving essential data
https://github.com/mohdsaif-1807/ocr-text-scanner
Last synced: 2 months ago
JSON representation
OCR-Text-Scanner is an application that extracts and displays data from images of Indian passports and driving licenses (Maharashtra-specific). Built with a Flask backend utilizing Tesseract for OCR and regex for data extraction, it features a user-friendly frontend developed in React and Tailwind CSS. This tool simplifies retrieving essential data
- Host: GitHub
- URL: https://github.com/mohdsaif-1807/ocr-text-scanner
- Owner: MohdSaif-1807
- Created: 2024-11-02T17:19:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-02T17:40:14.000Z (about 1 year ago)
- Last Synced: 2025-10-14T13:38:41.037Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OCR-Text-Scanner
OCR-Text-Scanner is a powerful application designed to extract and display data from images, specifically tailored for Indian passports and driving licenses from Maharashtra.
## Features
- **Data Parsing**: Efficiently extracts essential information from images of Indian passports and driving licenses.
- **User-Friendly Interface**: Built with React and Tailwind CSS for a responsive and intuitive user experience.
## Tech Stack
- **Backend**: Flask
- Utilizes **Tesseract** for Optical Character Recognition (OCR) to parse data from images.
- Employs **Regex** for precise information extraction from the parsed data.
- **Frontend**: React with Tailwind CSS
- Ensures a clean and modern interface for users.
## Getting Started
To run this project locally, follow these steps:
1. **Clone the Repository**:
```bash
git clone https://github.com/yourusername/OCR-Text-Scanner.git
cd OCR-Text-Scanner
```
2. **Install Backend Dependencies**:
Navigate to the backend directory and install the required packages:
```bash
cd backend
pip install
```
3. **Run the Backend**:
Start the Flask server:
```bash
python server.py
```
4. **Install Frontend Dependencies**:
Navigate to the frontend directory and install the required packages:
```bash
cd frontend
npm install
```
5. **Run the Frontend**:
Start the React application:
```bash
npm start
```
6. **Access the Application**:
Open your browser and go to `http://localhost:3000` to use the OCR-Text-Scanner.
## Screenshots
Dashboard page:

Uploaded driving license image:

After parsing of data from the image:

Parsed data:
