**An AI-powered face recognition system, designed for real-time surveillance and locating missing persons or items **
- Real-time face recognition using advanced AI algorithms.
- Surveillance and monitoring for missing persons or items during mass gatherings.
- Easy-to-use web interface built with React and Tailwind CSS.
- Robust backend API using Flask and Python.
🎬 Check out a live demo here or watch a preview below:
- React ⚛️ for building the user interface
- Tailwind CSS 💨 for responsive and attractive styling
- Axios for API calls to the backend
- Flask 🐍 for building the API
- face_recognition library for facial detection and recognition
- OpenCV for handling image and video processing
- Python as the main backend language
- Docker 🐳 for containerization of Backend
face-recognition-system/
│
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── App.js
│ │ └── index.js
│ ├── tailwind.config.js
│ └── package.json
│
├── backend/
│ ├── app.py
│ ├── models/
│ ├── routes/
│ └── requirements.txt
│
└── database/
└── database-setup.sql (or MongoDB setup scripts)
-
Clone the repository:
git clone [email protected]:kartik-212004/hackathon-iiit.git cd hackathon-iiit
-
Backend Setup:
- Navigate to the backend folder and set up a virtual environment:
cd backend python3 -m venv venv source venv/bin/activate # On Linux/macOS .\venv\Scripts\activate # On Windows
- Install dependencies:
pip install -r requirements.txt
- Navigate to the backend folder and set up a virtual environment:
-
Frontend Setup:
- Navigate to the frontend folder and install dependencies:
cd frontend npm install
- Navigate to the frontend folder and install dependencies:
-
Run the Application:
- Start the Flask backend server:
cd backend python app.py
- Start the React frontend development server:
cd frontend npm start
- Start the Flask backend server:
You can also run the entire system using Docker for seamless deployment:
-
Build and run the Docker containers:
docker pull kartik200421/hackathon-iiit
-
Visit
http://localhost:3000
for the frontend andhttp://localhost:5000
for the backend.
- Face Registration: Known persons’ images are uploaded and stored in the system for future recognition.
- Real-time Face Detection: The system captures video feeds or images to detect faces.
- Real-time video stream integration for live surveillance.
- Alert System: Notify authorities when a person is identified.
- Scalability: Using Kubernetes for scaling during mass gatherings.
Contributions are always welcome! Feel free to:
- Fork the repo.
- Create a feature branch.
- Submit a pull request with a detailed description of the changes.
- THE OGs - GitHub Profile
This project is licensed under the MIT License.
⭐ If you like this project, don’t forget to star the repository!
- Special thanks to the open-source community for amazing resources.
- Inspiration from real-world applications of AI in surveillance systems .