A simple Flask web application for attendance tracking using QR codes. The application allows students to scan QR codes generated for each student to mark their attendance.
- QR Code Scanning: Students can scan QR codes using the device camera to register their attendance.
- Manual Attendance: In addition to QR code scanning, the app supports manual attendance entry.
- Data Storage: The app stores attendance data, including the date and list of students present.
- QR Code Generation: The application provides a feature to generate QR codes for new students.
Make sure you have the following installed:
Install the required packages using the following command:
pip install Flask opencv-python qrcode[pil]- Clone the repository:
git clone https://github.com/developerlight/absen-scanqr-python.git
cd absen-scanqr-python- Run the Flask application:
python app.py- Open your browser and go to http://127.0.0.1:5000/ to access the application.
/: Landing page with general information./scan_qr: QR code scanning page./process_qr: Processing scanned QR codes./absensi: Manual attendance entry./absensii: API endpoint for attendance with JSON data./generate_qrcode: Page for generating QR codes for new students.
This project is licensed under the MIT License - see the LICENSE file for details.