This is a Streamlit application for detecting blood groups from fingerprint images using a pre-trained Keras (TensorFlow) model.
Make sure you have the following installed on Windows:
- Python 3.10 (Ensure it's added to PATH during installation)
- Git (for cloning the repository)
- pip (comes with Python)
- Docker (for containerization, optional)
Follow these steps to set up and run the project:
git clone https://github.com/yourusername/blood_group_detection_using_fingerprint_cnn.git
cd blood_group_detection_using_fingerprint_cnnpython -m venv venv --copiesvenv\Scripts\activatepip install -r requirements.txtstreamlit run app.pyIf you want to containerize the application using Docker, follow these steps:
docker build -t blood-group-app .docker run -p 8501:8501 blood-group-appOpen your browser and go to:
http://localhost:8501
├── Model/
│ ├── keras_Model.h5 # Trained model file
│ ├── labels.txt # Labels for classification
├── app.py # Main Streamlit app
├── requirements.txt # List of dependencies
├── Dockerfile # Docker container setup
├── README.md # Project documentation
- If
streamlitis not recognized, make sure the virtual environment is activated. - If TensorFlow is missing, try running:
pip install tensorflow
- If you face Python version issues, ensure you’re using Python 3.10.
- If you encounter issues with Docker, try rebuilding the image:
docker build --no-cache -t blood-group-app .
This project is open-source. Feel free to modify and improve it! 🎉