Coding Activities by Usairim Kamal

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.

Save & grayscale with OpenCv

In this activity, students will load an image, convert it to grayscale, resize it to a standard size (224x224), display the processed image, and optionally save it based on key press.

Display & resize image with OpenCV

In this activity, students will learn how to load an image using OpenCV, display it in a resizable window, and adjust the window size. They will also explore the properties of an image such as dimensions and channels.

AI Movie Recommendation System

Simple Digit Predictor

TIC TAC TOE