Coding Activities by Soumalya Das

Fetching Trivia Questions and Displaying Them

Students will use a Trivia API to fetch trivia questions and create an interactive quiz where they can answer the questions and receive feedback.

Fetching Data from Public APIs

Students will use the requests library to fetch data from public APIs (e.g., joke API, trivia API) and display the results in a user-friendly way.

Gesture-Controlled Photo App with Filters

In this activity, students will build a real-time gesture-controlled photo app that allows them to apply different filters (grayscale, sepia, negative, blur) and take screenshots using hand gestures.

Gesture-Controlled Photo App with Filters

In this activity, students will build a real-time gesture-controlled photo app that allows them to apply different filters (grayscale, sepia, negative, blur) and take screenshots using hand gestures.

Gesture-Based Scrolling Control

Students will build a gesture-controlled scroll system that detects hand gestures in real-time and controls the system’s scrolling behavior based on whether the hand is open or closed.

Real-Time Gesture Control with OpenCV

Students will build a simple application where they can control the actions (like moving a shape or drawing lines) on the screen using hand gestures in real-time. This activity will help them learn the basic steps of gesture tracking and control.

Real-Time Color Filters and Edge Detection

Students will experiment with applying real-time color filters and edge detection effects to a sample image or webcam feed. They will toggle between filters and edge detection techniques using keyboard input and observe the effects instantly.

Real-Time Face Tracking and Counting People

Students will implement real-time face tracking and counting using their webcam. They will detect faces, count the number of people in the frame, and display the count dynamically.

Face detection with open CV

This activity will guide students through accessing their computer’s camera and performing real-time face detection using OpenCV’s pre-trained Haar Cascade classifier.

Interactive Color Filters on Static Image

Students will manipulate color channels of a static image in real-time by pressing specific keys to apply different color filters, including color tints and intensity adjustments. The image will be updated instantly with each key press.

Interactive Edge Detection & Filtering

Explore edge detection techniques (Sobel, Canny, Laplacian) and apply noise reduction filters (Gaussian, Median) interactively. Students will experiment with parameters and observe their effects on real images.

Image Annotation with Shapes and Measurements

This activity involves annotating an image using OpenCV by drawing rectangles and circles to highlight regions of interest, connecting them with a line, and visualizing the image height using bi-directional arrows. Text annotations are added for clarity, making the image informative and visually structured.