Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xmen3em/pan-card-tempering-detector-app

Flask web application designed to detect tempering in PAN card images. The application allows users to upload images of PAN cards and uses image processing techniques to determine if the card has been tampered with.
https://github.com/xmen3em/pan-card-tempering-detector-app

computer-vision deployment flask opencv python

Last synced: 19 days ago
JSON representation

Flask web application designed to detect tempering in PAN card images. The application allows users to upload images of PAN cards and uses image processing techniques to determine if the card has been tampered with.

Awesome Lists containing this project

README

        

# PAN Card Tempering Detector

This project is a Flask web application designed to detect tempering in PAN card images. The application allows users to upload images of PAN cards and uses image processing techniques to determine if the card has been tampered with.

## Steps to Run the Application

### Step 1: Clone the Project
Clone the repository to your local machine.

### Step 2: Navigate to the Project Directory
Open a command prompt and change your current path to the folder where you can find the `app.py` file.

### Step 3: Create a Virtual Environment
Create a virtual environment using the command below:

```
conda create -name
```

### Step 4: Activate the Virtual Environment
Activate the environment with the following command:

```
conda activate
```

### Step 5: Install Required Dependencies
Use the command below to install the required dependencies:

```
python -m pip install -r requirements.txt
```

### Step 6: Run the Application
Run the application using the command:

```
python app.py
```

You will get a URL. Copy it and paste it into your browser to access the web application.

### Step 7: Test with Sample Data
You have a `sample_data` folder where you can find images to test the application.

## Screenshot
![Web App Screenshot](web_screen.png)

## Project Structure
- `app/`: Contains the main application code.
- `__init__.py`: Initializes the Flask app.
- `views.py`: Contains the view functions/routes.
- `templates/`: Contains HTML templates.
- `config.py`: Configuration file for the Flask app.
- `requirements.txt`: Lists the dependencies required for the project.
- `app.py`: The main entry point of the application.

## License
This project is licensed under the MIT License.

## Acknowledgements
- Flask documentation
- OpenCV documentation
- Any other resources or libraries used

## Deployment

You can view the live application [here](https://pan-card-tempering-detector-app.onrender.com/).