OpenCV Introduction
Session1
As human we see

We analyse and undrestand
But what about our computers or Robots?
But NO Eyes !!

Camera

But how it can be done ?
That is what we called Computer vision !!
“Computer vision is the science of endowing computers or
other machines with vision, or the ability to see.”
- Erik G. Learned-Miller, University of Massachusetts
Computer Vision Applications
Computer Vision Fields

Medical
Industrial

Security

entertainment
Computer Vision Libraries
Back to history
●

Developed by Intel

●

Maintained by WillowGarage and It SeeZ

●

C/C++

●

Linux,Windows and iOS
A little bit serious..….

Let's talk about Opencv Modules
●

core
→ Data Structures
→ Basic image processing functions

●

highgui
→ Simple user interface
→ Image&Video Capture
●

imgproc
→ basic image processing algorithms

●

video
→ video analysis

●

objdetect

●

feature2d

●

calib3D
Image Structure
●

Iplimage
→ used in opencv1.x
→ Memory leaks if()

●

Mat
→ no memory problem
→ Easy to manipulate
Image I/O
●

Imread
→ read image from file
Mat imread(const string& filename, int flags=1 )

●

Imwrite
→ save image to a file
bool imwrite(const string& filename, InputArray img, const vector<int>& params=vector<int>() )

●

ImShow
→ show the image in a windows
Void imshow(const string& winame, InputArray mat)
Basic draw functions
●

Circle
→ void circle(Mat& img, Point center, int radius, const Scalar& color, int thickness=1, int
lineType=8, int

●

Line
→ void line(Mat& img, Point pt1, Point pt2, const Scalar& color, int thickness=1, int
lineType=8, int shift=0)

●

Ellipse
→ void ellipse(Mat& img, Point center, Size axes, double angle, double startAngle, double
endAngle, const Scalar& color, int thickness=1, int lineType=8, int shift=0)
Opencv Under Ubuntu
computer vision & Opencv intro
How to compile ?

g++ urcodename.cpp -o urcode `pkg-config
--cflags --libs opencv`
Configuration under vs10/12
computer vision & Opencv intro
computer vision & Opencv intro
computer vision & Opencv intro
computer vision & Opencv intro
computer vision & Opencv intro
computer vision & Opencv intro

More Related Content

PPTX
Computer vision
PPTX
Computer vision suprim regmi
PPT
Computer vision for interactive computer graphics
PDF
Open CV - 電腦怎麼看世界
PPTX
Introduction to computer vision and
PPTX
Computer vision
PPT
Computer Vision Basics
PPTX
Computer vision
Computer vision
Computer vision suprim regmi
Computer vision for interactive computer graphics
Open CV - 電腦怎麼看世界
Introduction to computer vision and
Computer vision
Computer Vision Basics
Computer vision

What's hot (20)

PDF
Computer Vision
PPTX
Image Processing and Computer Vision
PPTX
Computer Vision
PPT
General introduction to computer vision
PPTX
Computer Vision
PPTX
Computer vision
PPTX
What is computer vision?
PPTX
Computer vision
PPTX
Computer vision
PPTX
Computer Vision
PPTX
Computer Vision - Artificial Intelligence
PPTX
AI Computer vision
PPTX
Ai lecture 03 computer vision
PDF
Robot Machine Vision
PPTX
Computer vision
PPTX
Computer vision
PDF
IEEE EED2021 AI use cases in Computer Vision
PPTX
Computer vision and robotics
PPTX
Computer vision introduction
Computer Vision
Image Processing and Computer Vision
Computer Vision
General introduction to computer vision
Computer Vision
Computer vision
What is computer vision?
Computer vision
Computer vision
Computer Vision
Computer Vision - Artificial Intelligence
AI Computer vision
Ai lecture 03 computer vision
Robot Machine Vision
Computer vision
Computer vision
IEEE EED2021 AI use cases in Computer Vision
Computer vision and robotics
Computer vision introduction
Ad

Similar to computer vision & Opencv intro (20)

PPT
Intro_OpenCV.ppt
PPTX
20110220 computer vision_eruhimov_lecture02
PPTX
PYTHON-OPEEEEEEEEEEEEEEN-CV (1) kgjkg.pptx
PPTX
PYTHON-OOOOOOOOOOPPPPPPEEEEEEEEN-CV.pptx
PDF
Introduction to OpenCV 3.x (with Java)
PPTX
Cvpr2010 open source vision software, intro and training part v open cv and r...
DOCX
Open cv python tutorial for beginners 1
PDF
Computer Vision Workshop
PDF
Implementation of Computer Vision Applications using OpenCV in C++
PPTX
01 foundations
PDF
Image Detection and Count Using Open Computer Vision (Opencv)
PDF
"The OpenCV Open Source Computer Vision Library: Latest Developments," a Pres...
PPTX
Getting started with open cv in raspberry pi
DOCX
16 OpenCV Functions to Start your Computer Vision journey.docx
PPTX
Seeing with Python presented at PyCon AU 2014
PDF
computer_vision_dummies_with_Opencv.pdf
PDF
PDF
بینایی ماشین
PDF
Introduction to OpenCV 2.3.1
DOCX
Open cv
Intro_OpenCV.ppt
20110220 computer vision_eruhimov_lecture02
PYTHON-OPEEEEEEEEEEEEEEN-CV (1) kgjkg.pptx
PYTHON-OOOOOOOOOOPPPPPPEEEEEEEEN-CV.pptx
Introduction to OpenCV 3.x (with Java)
Cvpr2010 open source vision software, intro and training part v open cv and r...
Open cv python tutorial for beginners 1
Computer Vision Workshop
Implementation of Computer Vision Applications using OpenCV in C++
01 foundations
Image Detection and Count Using Open Computer Vision (Opencv)
"The OpenCV Open Source Computer Vision Library: Latest Developments," a Pres...
Getting started with open cv in raspberry pi
16 OpenCV Functions to Start your Computer Vision journey.docx
Seeing with Python presented at PyCon AU 2014
computer_vision_dummies_with_Opencv.pdf
بینایی ماشین
Introduction to OpenCV 2.3.1
Open cv
Ad

Recently uploaded (20)

PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PPT
What is a Computer? Input Devices /output devices
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
Modernising the Digital Integration Hub
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
STKI Israel Market Study 2025 version august
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
UiPath Agentic Automation session 1: RPA to Agents
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Flame analysis and combustion estimation using large language and vision assi...
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
1 - Historical Antecedents, Social Consideration.pdf
The influence of sentiment analysis in enhancing early warning system model f...
Credit Without Borders: AI and Financial Inclusion in Bangladesh
What is a Computer? Input Devices /output devices
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Modernising the Digital Integration Hub
A contest of sentiment analysis: k-nearest neighbor versus neural network
Consumable AI The What, Why & How for Small Teams.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
STKI Israel Market Study 2025 version august
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
Convolutional neural network based encoder-decoder for efficient real-time ob...
Developing a website for English-speaking practice to English as a foreign la...
Chapter 5: Probability Theory and Statistics
UiPath Agentic Automation session 1: RPA to Agents
Benefits of Physical activity for teenagers.pptx
Flame analysis and combustion estimation using large language and vision assi...
Final SEM Unit 1 for mit wpu at pune .pptx
Module 1.ppt Iot fundamentals and Architecture
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
1 - Historical Antecedents, Social Consideration.pdf

computer vision & Opencv intro