This project aims to develop an interactive quiz system that uses computer vision technology to enhance the user experience. The system allows users to take quizzes and interact with the system using hand gestures, providing a more immersive and accessible experience for users.
- Hand Gesture Recognition: The system captures live video streams and detects hand gestures using MediaPipe and TensorFlow. Users can navigate through quiz options by performing gestures.
- Real-Time Feedback: The system processes user responses and provides instant feedback, making the quiz interactive.
- Data Storage: All user interactions and quiz results are stored in a database for future reference.
- Develop a system that tracks and responds to user movements and gestures.
- Create a user-friendly interface compatible with various devices.
- Improve quiz engagement and accessibility, accommodating users with varying levels of mobility.
- Evaluate learning outcomes and compare them to traditional quiz systems.
- Hand Detection Module: This module detects hand gestures and maps them to specific quiz actions.
- Gesture Control Module: Recognizes user gestures and triggers appropriate system responses.
- Video Streaming Module: Captures live video from the user's webcam and provides real-time video frames to the hand detection module.
- Database: Stores quiz results and user data for review and analysis.
- OpenCV: A computer vision library for image processing and gesture detection.
- MediaPipe: A machine learning framework used for real-time hand gesture recognition.
- TensorFlow: An open-source platform for machine learning, used for detecting and processing hand gestures.
- CVzone: A computer vision library that simplifies real-time hand detection using MediaPipe.
- Clone the Repository:
git clone https://github.com/Darshan98Solanki/Quiz-System-OpenCV.git
- Install Dependencies:
Install the necessary libraries using:
pip install (all required libraries)
- Run the Application:
Start the quiz system by running the following command:
python quiz_system.py
- User Initialization: The user starts by entering their enrollment number.
- Hand Gesture Detection: The system captures the live video feed from the webcam, detecting hand gestures in real-time using MediaPipe and TensorFlow.
- Quiz Interaction: Users select answers by performing specific gestures, such as pointing or clicking in the air.
- Result Compilation: After the quiz is completed, the system calculates the score and stores the result in the database.
The system achieved a hand detection accuracy of approximately 74-76%, making it effective for basic hand gestures in a controlled environment.

[ Start Screen ]
[ Selecting Answer ]
[ Final Result Screen ]
- Advanced Facial Recognition: Personalize quizzes based on the user's previous performance.
- Expression Recognition: Analyze the user's expressions to assess engagement during the quiz.
- Augmented Reality Integration: Provide an immersive AR-based quiz experience.
- Automated Grading: Implement automatic grading of quiz results without human intervention.
- Adaptive Difficulty: Adjust quiz difficulty in real-time based on user performance.
This project demonstrates how computer vision can be integrated into traditional quiz systems to create an engaging, interactive, and accessible learning experience. With further development, such systems could revolutionize learning environments by making quizzes more interactive and tailored to individual needs.
- SSD: Single Shot Detector for Object Detection
- Google AI: Real-Time Hand Tracking
- OpenCV Documentation

