Essnetur builds data-led solutions to scale your creative impact. Make better decisions with Data. Automate processes. Increase efficiency with AI. We experimented with the implementation of an AgeCheck system to address these concerns:
- Ensure legal compliance for age-restricted product sales
- Reduce manual age verification processes
Essentur integrated AgeCheck Spotter into their e-commerce platform:
- Seamless ID upload during checkout
- Quick facial recognition for identity confirmation
- Automated age calculation and verification
AgeCheck is a comprehensive web application designed to help businesses verify the age of their customers quickly and efficiently. This tool is particularly useful for establishments that need to ensure compliance with age restrictions, such as bars, nightclubs, or stores selling age-restricted products.
- Quick and accurate age verification
- Face recognition technology for identity confirmation
- User-friendly interface for both staff and customers
- Customizable age thresholds to meet different regulatory requirements
- Real-time results with detailed verification reports
- Secure storage of verification data
- Dark mode support for various lighting conditions
This project is built with a modern tech stack:
-
Frontend:
- Vite for fast development and building
- React for building the user interface
- shadcn/ui for beautiful and customizable UI components
- Tailwind CSS for responsive and efficient styling
- Framer Motion for smooth animations
-
Backend:
- Flask for the API server
- OpenCV and face-recognition libraries for image processing and face recognition
To run this project, you need:
- Node.js (v14 or later)
- Python (v3.7 or later)
- npm or yarn package manager
- A webcam or camera device for capturing images
-
Clone the repository:
git clone https://github.com/GPT-Engineer-App/agecheck-spotter.git
-
Navigate to the project directory:
cd agecheck-spotter
-
Install frontend dependencies:
npm install
-
Install backend dependencies:
pip install -r requirements.txt
-
Start the development servers:
npm run start
This command will start both the frontend and backend servers concurrently.
-
Open your browser and visit
http://localhost:8080
to view the application.
- On the home page, click "Start Age Verification" to begin the process.
- Upload an ID document (image or PDF) of the person being verified.
- Use the webcam to capture a live image of the person.
- Enter the person's birth date.
- Click "Verify Age" to process the information.
- The system will compare the ID photo with the live image and calculate the person's age.
- Results will be displayed, indicating whether the person's age is verified and if they meet the required age threshold.
AgeCheck Spotter provides a seamless and accurate age verification service by combining document analysis, facial recognition, and date of birth verification. The process works as follows:
-
Document Upload: The system accepts various forms of identification, including driver's licenses, passports, and national ID cards.
-
Face Capture: Using the device's camera, a live image of the person is captured for comparison with the ID document.
-
Data Processing: The backend service extracts information from the ID document, including the photo and date of birth.
-
Face Comparison: Advanced facial recognition algorithms compare the ID photo with the live capture to ensure they match.
-
Age Calculation: The system calculates the person's age based on the provided date of birth.
-
Verification Result: A comprehensive result is returned, indicating whether the age is verified and if the person meets the required age threshold.
This service helps businesses maintain compliance with age restriction laws while providing a quick and non-intrusive verification process for customers.
Contributions are welcome! Please feel free to submit a Pull Request or use this project as your template!
This project is licensed under the MIT License.
For any questions, don't hesitate to contact me at [email protected].
This project was initially generated with GPT Engineer and further improved. You can visit the project page here.