AI Dictionary of Terms

Computer Vision

A field of artificial intelligence that enables computers to derive meaningful information from digital images, videos, and other visual inputs, and take actions or make recommendations based on that information.

The Simple Version

Imagine giving a computer a pair of eyes and a brain. If you show a human a picture of a cat, they instantly know it’s a cat. But to a computer, a picture is just a giant grid of numbers representing colors (pixels).

Computer Vision is the technology that teaches the computer how to look at that grid of numbers and understand what it represents. It’s the difference between a security camera that just records video, and a smart camera that can recognize a specific person’s face and send you an alert.

Detailed Explanation

Computer Vision (CV) tasks involve acquiring, processing, analyzing, and understanding digital images. Modern CV is almost entirely powered by Deep Learning, specifically Convolutional Neural Networks (CNNs).

Core CV Tasks:

The Pipeline:

  1. Image Acquisition: Capturing the image/video.
  2. Preprocessing: Resizing, normalizing, or augmenting the image to improve model performance.
  3. Feature Extraction: The neural network identifies edges, textures, and shapes.
  4. Inference: The model outputs a prediction (classification, bounding box, etc.).

Key Characteristics

Business Context

Computer Vision is one of the most mature and high-ROI applications of enterprise AI:

Real-World Analogy

A highly trained art authenticator. They don’t just look at a painting; they examine the brushstroke patterns, the chemical composition of the paint, and the canvas weave, comparing it against a mental database of known masterpieces to determine if it’s genuine.

Code Example

# Basic Computer Vision pipeline using OpenCV and a pre-trained model
import cv2
import torch

# 1. Image Acquisition & Preprocessing
# Load an image from file
image = cv2.imread('sample_image.jpg')
# Convert to RGB (OpenCV loads as BGR by default)
image_rgb = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
# Resize to model's expected input size (e.g., 224x224)
resized = cv2.resize(image_rgb, (224, 224))

# 2. Feature Extraction & Inference (Conceptual)
# In practice, you would convert 'resized' to a PyTorch tensor 
# and pass it through a pre-trained CNN like ResNet.
# model = torch.hub.load('pytorch/vision', 'resnet18', pretrained=True)
# predictions = model(tensor)

print("Image loaded and preprocessed. Shape:", resized.shape)
print("Ready for neural network inference.")

Common Misconceptions

Sources & Further Reading