Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 23

Lecture No 8 & 9

Introduction to Computer
Vision

June 10, 2024 1


Outline
• Computer Vision
• Numpy Arrays & its Manipulation
• Numpy Images
• RGB Image Colors

June 10, 2024 2


Introduction to Computer Vision
• Computer vision is a field of artificial intelligence (AI) enabling computers
to derive information from images, videos and other inputs.
• Computer vision focuses on enabling computers to identify and understand
objects and people in images and videos.
• Enable machines to learn and understand the images at pixel level through
training and validation.

• Facial recognition technology uses computer vision to identify specific


people in photos and videos.

June 10, 2024 3


Computer Vision
Make computers understand images and videos.

What kind of scene?

Where are the cars?

How far is the


building?

June 10, 2024 4


Components of a computer vision system

Camera

Lighting

Computer

Scene

Scene Interpretation
June 10, 2024 5
June 10, 2024 6
June 10, 2024 7
June 10, 2024 8
Numpy

• NumPy is a Python library.


• NumPy is used for working with arrays.
• NumPy is short for "Numerical Python".

June 10, 2024 9


Numpy Array

June 10, 2024 10


Numpy Array

June 10, 2024 11


Numpy Array

June 10, 2024 12


Numpy Array

June 10, 2024 13


Numpy Images

June 10, 2024 14


Numpy Images

June 10, 2024 15


Numpy Images

June 10, 2024 16


Numpy Images

June 10, 2024 17


Numpy Images

June 10, 2024 18


Numpy Images

June 10, 2024 19


RGB Image Colors:

June 10, 2024 20


RGB Image Colors:

June 10, 2024 21


RGB Image Colors:

June 10, 2024 22


How to install PIP, NUMPY?
• curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
• python get-pip.py

• pip install numpy


• …
• …

June 10, 2024 23

You might also like