Coding Activities by Usairim Kamal

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.

Gesture-Based Volume and Brightness Control

Students will build a real-time gesture control system that adjusts the system volume and screen brightness using hand gestures. By calculating the distance between the thumb and index finger, students will manipulate the volume and brightness on their computer in real-time.

Real-Time Hand Gesture Detection

Build a complete, working gesture detection system that uses a webcam to track hands in real-time, identifies all finger positions, and classifies gestures as Open, Closed Fist, or Partial.

Real-Time Hand Gesture Detection

Build a complete, working gesture detection system that uses a webcam to track hands in real-time, identifies all finger positions, and classifies gestures as Open, Closed Fist, or Partial.

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.

Rotating and Adjusting Image Brightness

Rotate an image by 45 degrees and adjust its brightness to see the effects of basic arithmetic operations on images.

Color Conversions and Cropping

Convert an image from BGR to RGB and grayscale, then crop a region of interest.