Computer Vision
Explore how computers interpret images and videos — from facial recognition to autonomous vehicles and object detection.
Add Text to Image
Add white text 'Hello CV' at position (50,100) with font scale 2 and thickness 2.
Bitwise Operations
Create a white circle on black background and perform AND operation with another image.
Change Pixel Color
Change the color of pixel at (100,100) to blue and display the image.
Color Channel Splitting
Split the image into its B, G, R components and display each channel.
Color Detection
Detect all green pixels in an image and display them in white.
Convert BGR to RGB
Convert the image from BGR to RGB color space and display it.
Crop Image
Crop the image to show only the region from (100,100) to (300,300).
Draw a Circle on Image
Draw a blue circle centered at (300,300) with radius 100 and thickness 3.
Draw a Polygon
Draw a yellow triangle (3-sided polygon) with points (100,100), (300,100), (200,300).
Draw a Rectangle on Image
Draw a green rectangle on the image from (50,50) to (200,200) with thickness 2.
Get Image Dimensions
Print the width, height and number of color channels of an image.
Image Concatenation
Concatenate two images horizontally and display the result.
Image Translation
Shift the image 100 pixels right and 50 pixels down.
Simple Background Subtraction
Subtract two images to find differences.