This document provides an overview of computer vision, including its applications, how it works, and the OpenCV library. Computer vision enables computers to see, observe and understand in the same way humans do through vision. It has applications in areas like translation, self-driving cars, facial recognition, and more. Computer vision works by representing digital images as grids of pixels encoded by color values. The OpenCV library contains algorithms for computer vision tasks like object detection and is commonly used with Python.
4. Computer Vision
Enables computers
to see, observe and
understand.
A powerful field of
artificial
intelligence
Computer vision
works the same as
human vision
7. Google Translate
Google Translate lets users point a smartphone camera at a
sign in another language and almost immediately
obtain a translation of the sign
in their preferred language.
15. How to represent the color of a pixel?
• Red/Green/Blue (RGB) scheme.
• Each channel will range from 0 to 255, 256 different shades of colors.
• 0 meaning zero light and 255 meaning maximum light.
• Any pixel color can be represented by three numbers.
Color Red Green Blue Encoded
Red 255 0 0 (255,0,0)
Green 0 255 0 (0,255,0)
Black 0 0 0 (0,0,0)
White 255 255 255 (255,255,255)
16. How to represent Blue color?
Color Red Green Blue Encoded
Blue
Color Red Green Blue Encoded
Blue 0 0 255 (0,0,255)
18. OpenCV
OpenCV is an open-source computer vision library that contains many different
functions for computer vision and machine learning.
OpenCV has many different algorithms related to computer vision that can perform
a variety of tasks including facial detection, object identification, tracking eye
movements and others.
19. Reading an image in OpenCV
using Python
1. Import opencv library
import cv2 as cv
2. Use imread function
img = cv.imread('/content/car.jpeg')
img = cv.imread(Image path)
20. Displaying an image in OpenCV
using Python
1. Use imshow function
2. Hold the window on screen
cv.imshow("Car", img)
cv.imshow(window title, image array)
cv.waitKey(0)
21. We learnt …
Computer Vision
Computer vision
applications
How does Computer
Vision work
OpenCV library.
01
03 04
02
22. CREDITS: This presentation template was created by Slidesgo, including
icons by Flaticon, infographics & images by Freepik and illustrations by
Stories
Thanks!
Afnan Abou Elwafa
afnanabouelwafa@gmail.com
Please keep this slide for attribution