COMPUTER VISION
Computer Vision is a field of AI that enables computers to see, identify, and
understand images and videos, and extract useful information from them
just like humans do.
Computer vision tasks
1. Image Classification-Assigning a label or category to an image from a
fixed set of categories.
2. Classification + Localization-combines classification (what the object is)
and localization (where it is in the image).
3. Object Detection-Find and draw boxes around objects.
4. Instance Segmentation-Find objects and color each pixel that belongs to
them.
Pixel-
• “pixel” comes from “picture element”. It is the smallest part of a digital
[Link] are usually square or round and are arranged in a grid.
• Each pixel shows a tiny part of the image.
Resolution
• The number of pixels in an image.
• Resolution is often written as width × height.
• 1 megapixel = 1 million pixels
Grayscale images
• Images that show only shades of gray—no colors.
• Black = darkest shade = pixel value 0.
• White = lightest shade = pixel value 255.
• Gray shades = values between 0 and 255.
• A grayscale image is stored as a 2D array of pixels.
RGB images
• Each RGB image has three separate channels: R, G, and B
• Each pixel in a color image has three values: one for Red, one for
Green, and one for Blue.
• Computers store RGB images as three 2D arrays (one for each
channel).