SlideShare a Scribd company logo
2
Most read
8
Most read
12
Most read
OpenCV
(open source computer vision)
Chetan Allapur-OpenCV
What is OpenCV?
OpenCV (Open Source Computer Vision Library: http://opencv.org) is
an open-source BSD-licensed library that
includes several hundreds of computer vision
algorithms to be used by industry and
academia for computer vision applications
and research.
By Chetan Allapur
Chetan Allapur-OpenCV
❏ OpenCV is originally developed by Intel.
❏ It has more than 2500 optimized algorithms.
❏ It has C/C++/Python Application Programming Interface.
● It is written natively in C++
❏ OpenCV is a Cross-platform.
● Also available for Android and iOS.
❏ Released under BSD license.
❏ Initial release: June 2000; 20 years ago.
❏ Current release version: 4.3.0 / 3 April 2020.
Chetan Allapur-OpenCV
Applications of OpenCV....
● Object,face and Gesture Recognition
● Street view image stitching
● Automated inspection and surveillance
● Robot and driver-less car navigation and control
● Medical image analysis
● Video/image search and retrieval
● Movies - 3D structure from motion
● ….and so on.
Chetan Allapur-OpenCV
Functionalities of OpenCV:
● Image/video I/O, processing, display (core, imgprocessing,
highgui)
● Object/feature detection (objdetect, features2d, nonfree)
● Geometry-based monocular or stereo computer vision (calib3d,
stitching, video stabilization)
● Computational photography (photo, video, superres)
● Machine learning & clustering (ml, flann-Fast Library for
Approximate Nearest Neighbors)
● CUDA acceleration (gpu)
Chetan Allapur-OpenCV
Why we use OpenCV the most?
❖ OpenCV is one of the best competitor When compared with
Matlab.
❖ OpenCV has more functions for computer vision than Matlab.
In general C++ OpenCV code runs faster than Matlab code.
❖ OpenCV is very powerful when it comes to Image Processing.
❖ Few day to day tasks such as Motion Detection, Object
Detection, People Detection becomes matter of minutes with
OpenCV.
Chetan Allapur-OpenCV
Pros and Cons:
Competitor here: Matlab
❖ Pros:
● With BSD license for OpenCV, you get all the features for free.
Also, optimized code runs faster than MATLAB!
● Speed: OpenCV uses high frames processed per sec in real time
image processing Than Matlab.
● OpenCV is more efficient than Matlab as Matlab needs more
system resources than OpenCV.
● There are many OpenCV wrappers like SimpleCV, JavaCV,
EmguCV,JavacvPro,..etc
Chetan Allapur-OpenCV
Pros and Cons:
Competitor here: Matlab
❖ Cons:
● OpenCV does not provide the same ease of use when
compared to MATLAB
● OpenCV lacks in memory management.
● Matlab is much easier to write lines of code. Similar functionality
might be just 1–2 lines of code compared to OpenCV.
Chetan Allapur-OpenCV
OpenCV has a modular structure, which
means that the package includes several
shared or static libraries. The following
modules are available:
Chetan Allapur-OpenCV
Modules:
● Core functionality (core): basic structures and algorithms.
● Image Processing (imgproc): Image processng algorithms
(such as image filtering, image transformation,etc)
● Video Analysis (video): Video analysis (such as ,otion
estimation and object tracking)
● High-level GUI (highgui): It has built-in UI and in addition,
we use Qt(free and open-source widget toolkit for creating graphical user
interfaces)
Chetan Allapur-OpenCV
Modules:
● Camera Calibration and 3D Reconstruction (calib3d):
camera calibration and 3d reconstruction
● 2D Features Framework (features2d): 2D features
framework (feature detectors, descriptors and descriptor
matchers)
● Object Detection (objdetect): detection of objects and other
items(e.g., faces, eyes, people, cars, etc,.)
● Video I/O (videoio): an easy-to-use interface to video capturing
and video codecs.
Chetan Allapur-OpenCV
Installation steps in windows:
1. Step 1: Install Visual Studio. ...
2. Step 2: Install CMake. ...
3. Step 3: Install Anaconda (a python distribution) ...
4. Step 4: Download and extract opencv-3.3. ...
5. Step 5: Generate Visual Studio project using CMake. ...
6. Step 6: Compile OpenCV. ...
7. Step 7: Update System Environment Variables. ...
8. Step 8: Testing C++ code.
(for more detailed explanation - Link)
Chetan Allapur-OpenCV
Installation steps in iOS:
1. Download OpenCV 3 from www.opencv.org.
2. Create iOS project by Xcode (Xcode 9.1 (9B55)).
3. Import opencv2. framework to project in General>Linked
Frameworks and Libraries.
4. Set correct path in Build Settings>Framework Search Paths.
5. Import header before any module or framework of Cocoa.
(For more detailed explanation - Link)
Chetan Allapur-OpenCV
Installation steps in Ubuntu:
1. Refresh the packages index and install the OpenCV package
by typing: sudo apt update sudo apt install python3-opencv. ...
2. To verify the installation, import the cv2 module and print the
OpenCV version
(this is the installation of OenCV from Ubuntu Repository, for installng CV from the source - link)
Chetan Allapur-OpenCV
Resources:
➢ OpenCV Wiki- Link
➢ OpenCV: OpenCV modules - Link
➢ Introduction to Computer Vision - Link (Edge AI and Vision Alliance)
➢ OpenCV | NVIDIA Developer - Link (NVIDIA Developer)
Chetan Allapur-OpenCV

More Related Content

What's hot (20)

PPT
Image enhancement ppt nal2
Surabhi Ks
 
PPTX
Digital image processing
Yendapalli lalitha kundana
 
PPTX
Moving object detection
Raviraj singh shekhawat
 
PDF
digital image processing, image processing
Kalyan Acharjya
 
PPT
Pixel resolution
imcprint
 
PPT
Digital image processing
manpreetgrewal
 
PPTX
Basic Introduction To Graphic File Formats
Ankit Mishra
 
PPTX
Raster vs vector
SUCHITRA SINGH
 
PDF
Introduction to OpenCV
Luigi De Russis
 
PPTX
Face Detection
Amr Sheta
 
PPTX
Multimedia operating system
Home
 
PPTX
Rgb & cmy(k) color model
University of Potsdam
 
PPT
Moving object detection
Manav Mittal
 
PPT
ppt on region segmentation by AJAY KUMAR SINGH (NITK)
Ajay Kumar Singh
 
PPT
Image processing1 introduction
Preeti Gupta
 
PPTX
Object detection
Somesh Vyas
 
PPT
Segmentation
guest49d49
 
PDF
CV_Chap 3 Features Detection
Khushali Kathiriya
 
PPTX
Color Models
Mustafa Salam
 
PDF
Visual odometry & slam utilizing indoor structured environments
NAVER Engineering
 
Image enhancement ppt nal2
Surabhi Ks
 
Digital image processing
Yendapalli lalitha kundana
 
Moving object detection
Raviraj singh shekhawat
 
digital image processing, image processing
Kalyan Acharjya
 
Pixel resolution
imcprint
 
Digital image processing
manpreetgrewal
 
Basic Introduction To Graphic File Formats
Ankit Mishra
 
Raster vs vector
SUCHITRA SINGH
 
Introduction to OpenCV
Luigi De Russis
 
Face Detection
Amr Sheta
 
Multimedia operating system
Home
 
Rgb & cmy(k) color model
University of Potsdam
 
Moving object detection
Manav Mittal
 
ppt on region segmentation by AJAY KUMAR SINGH (NITK)
Ajay Kumar Singh
 
Image processing1 introduction
Preeti Gupta
 
Object detection
Somesh Vyas
 
Segmentation
guest49d49
 
CV_Chap 3 Features Detection
Khushali Kathiriya
 
Color Models
Mustafa Salam
 
Visual odometry & slam utilizing indoor structured environments
NAVER Engineering
 

Similar to OpenCV (Open source computer vision) (20)

PDF
Automatic License Plate Recognition using OpenCV
Editor IJCATR
 
PDF
Automatic License Plate Recognition using OpenCV
Editor IJCATR
 
PPTX
Opencv
Ethishkumar
 
PPTX
OpenCV @ Droidcon 2012
Wingston
 
PDF
Image Detection and Count Using Open Computer Vision (Opencv)
IJERA Editor
 
PDF
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
Edge AI and Vision Alliance
 
PDF
Introduction to OpenCV 3.x (with Java)
Luigi De Russis
 
PPTX
OpenCV+Android.pptx
Vishwas459764
 
PDF
OpenCV Workshop
Lentin Joseph
 
PDF
How To Install OpenCV On Windows? Edureka
Edureka!
 
DOCX
Open cv
nanocdac
 
PPTX
502021435-12345678Minor-Project-Ppt.pptx
shrey4922
 
PDF
Introduction to OpenCV (with Java)
Luigi De Russis
 
PDF
"OpenCV for High-performance, Low-power Vision Applications on Snapdragon," a...
Edge AI and Vision Alliance
 
PDF
Starting with OpenCV on i.MX 6 Processors
Toradex
 
PDF
OpenCV Introduction
Zachary Blair
 
PDF
"The OpenCV Open Source Computer Vision Library: Latest Developments," a Pres...
Edge AI and Vision Alliance
 
DOC
Video optimization for android - Part I
Yoss Cohen
 
PDF
"The OpenCV Open Source Computer Vision Library: What’s New and What’s Coming...
Edge AI and Vision Alliance
 
PDF
On technology transfer: experience from the CARP project... and beyond
dividiti
 
Automatic License Plate Recognition using OpenCV
Editor IJCATR
 
Automatic License Plate Recognition using OpenCV
Editor IJCATR
 
Opencv
Ethishkumar
 
OpenCV @ Droidcon 2012
Wingston
 
Image Detection and Count Using Open Computer Vision (Opencv)
IJERA Editor
 
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
Edge AI and Vision Alliance
 
Introduction to OpenCV 3.x (with Java)
Luigi De Russis
 
OpenCV+Android.pptx
Vishwas459764
 
OpenCV Workshop
Lentin Joseph
 
How To Install OpenCV On Windows? Edureka
Edureka!
 
Open cv
nanocdac
 
502021435-12345678Minor-Project-Ppt.pptx
shrey4922
 
Introduction to OpenCV (with Java)
Luigi De Russis
 
"OpenCV for High-performance, Low-power Vision Applications on Snapdragon," a...
Edge AI and Vision Alliance
 
Starting with OpenCV on i.MX 6 Processors
Toradex
 
OpenCV Introduction
Zachary Blair
 
"The OpenCV Open Source Computer Vision Library: Latest Developments," a Pres...
Edge AI and Vision Alliance
 
Video optimization for android - Part I
Yoss Cohen
 
"The OpenCV Open Source Computer Vision Library: What’s New and What’s Coming...
Edge AI and Vision Alliance
 
On technology transfer: experience from the CARP project... and beyond
dividiti
 
Ad

Recently uploaded (20)

PDF
NVIDIA Triton Inference Server, a game-changing platform for deploying AI mod...
Tamanna36
 
DOCX
The Influence off Flexible Work Policies
sales480687
 
PPTX
Mynd company all details what they are doing a
AniketKadam40952
 
PDF
Kafka Use Cases Real-World Applications
Accentfuture
 
DOCX
COT Feb 19, 2025 DLLgvbbnnjjjjjj_Digestive System and its Functions_PISA_CBA....
kayemorales1105
 
PPTX
PPT2 W1L2.pptx.........................................
palicteronalyn26
 
PDF
Digital-Transformation-for-Federal-Agencies.pdf.pdf
One Federal Solution
 
PPTX
@Reset-Password.pptx presentakh;kenvtion
MarkLariosa1
 
PDF
Microsoft Power BI - Advanced Certificate for Business Intelligence using Pow...
Prasenjit Debnath
 
PPTX
ppt somu_Jarvis_AI_Assistant_presen.pptx
MohammedumarFarhan
 
PDF
A Web Repository System for Data Mining in Drug Discovery
IJDKP
 
PDF
Business Automation Solution with Excel 1.1.pdf
Vivek Kedia
 
PDF
624753984-Annex-A3-RPMS-Tool-for-Proficient-Teachers-SY-2024-2025.pdf
CristineGraceAcuyan
 
PPTX
RESEARCH-FINAL-GROUP-3, about the final .pptx
gwapokoha1
 
PPT
Camuflaje Tipos Características Militar 2025.ppt
e58650738
 
DOCX
Starbucks in the Indian market through its joint venture.
sales480687
 
PPTX
Data Analytics using sparkabcdefghi.pptx
KarkuzhaliS3
 
PPTX
Daily, Weekly, Monthly Report MTC March 2025.pptx
PanjiDewaPamungkas1
 
PPSX
PPT1_CB_VII_CS_Ch3_FunctionsandChartsinCalc.ppsx
animaroy81
 
PPTX
Presentation by Tariq & Mohammed (1).pptx
AbooddSandoqaa
 
NVIDIA Triton Inference Server, a game-changing platform for deploying AI mod...
Tamanna36
 
The Influence off Flexible Work Policies
sales480687
 
Mynd company all details what they are doing a
AniketKadam40952
 
Kafka Use Cases Real-World Applications
Accentfuture
 
COT Feb 19, 2025 DLLgvbbnnjjjjjj_Digestive System and its Functions_PISA_CBA....
kayemorales1105
 
PPT2 W1L2.pptx.........................................
palicteronalyn26
 
Digital-Transformation-for-Federal-Agencies.pdf.pdf
One Federal Solution
 
@Reset-Password.pptx presentakh;kenvtion
MarkLariosa1
 
Microsoft Power BI - Advanced Certificate for Business Intelligence using Pow...
Prasenjit Debnath
 
ppt somu_Jarvis_AI_Assistant_presen.pptx
MohammedumarFarhan
 
A Web Repository System for Data Mining in Drug Discovery
IJDKP
 
Business Automation Solution with Excel 1.1.pdf
Vivek Kedia
 
624753984-Annex-A3-RPMS-Tool-for-Proficient-Teachers-SY-2024-2025.pdf
CristineGraceAcuyan
 
RESEARCH-FINAL-GROUP-3, about the final .pptx
gwapokoha1
 
Camuflaje Tipos Características Militar 2025.ppt
e58650738
 
Starbucks in the Indian market through its joint venture.
sales480687
 
Data Analytics using sparkabcdefghi.pptx
KarkuzhaliS3
 
Daily, Weekly, Monthly Report MTC March 2025.pptx
PanjiDewaPamungkas1
 
PPT1_CB_VII_CS_Ch3_FunctionsandChartsinCalc.ppsx
animaroy81
 
Presentation by Tariq & Mohammed (1).pptx
AbooddSandoqaa
 
Ad

OpenCV (Open source computer vision)

  • 1. OpenCV (open source computer vision) Chetan Allapur-OpenCV
  • 2. What is OpenCV? OpenCV (Open Source Computer Vision Library: http://opencv.org) is an open-source BSD-licensed library that includes several hundreds of computer vision algorithms to be used by industry and academia for computer vision applications and research. By Chetan Allapur Chetan Allapur-OpenCV
  • 3. ❏ OpenCV is originally developed by Intel. ❏ It has more than 2500 optimized algorithms. ❏ It has C/C++/Python Application Programming Interface. ● It is written natively in C++ ❏ OpenCV is a Cross-platform. ● Also available for Android and iOS. ❏ Released under BSD license. ❏ Initial release: June 2000; 20 years ago. ❏ Current release version: 4.3.0 / 3 April 2020. Chetan Allapur-OpenCV
  • 4. Applications of OpenCV.... ● Object,face and Gesture Recognition ● Street view image stitching ● Automated inspection and surveillance ● Robot and driver-less car navigation and control ● Medical image analysis ● Video/image search and retrieval ● Movies - 3D structure from motion ● ….and so on. Chetan Allapur-OpenCV
  • 5. Functionalities of OpenCV: ● Image/video I/O, processing, display (core, imgprocessing, highgui) ● Object/feature detection (objdetect, features2d, nonfree) ● Geometry-based monocular or stereo computer vision (calib3d, stitching, video stabilization) ● Computational photography (photo, video, superres) ● Machine learning & clustering (ml, flann-Fast Library for Approximate Nearest Neighbors) ● CUDA acceleration (gpu) Chetan Allapur-OpenCV
  • 6. Why we use OpenCV the most? ❖ OpenCV is one of the best competitor When compared with Matlab. ❖ OpenCV has more functions for computer vision than Matlab. In general C++ OpenCV code runs faster than Matlab code. ❖ OpenCV is very powerful when it comes to Image Processing. ❖ Few day to day tasks such as Motion Detection, Object Detection, People Detection becomes matter of minutes with OpenCV. Chetan Allapur-OpenCV
  • 7. Pros and Cons: Competitor here: Matlab ❖ Pros: ● With BSD license for OpenCV, you get all the features for free. Also, optimized code runs faster than MATLAB! ● Speed: OpenCV uses high frames processed per sec in real time image processing Than Matlab. ● OpenCV is more efficient than Matlab as Matlab needs more system resources than OpenCV. ● There are many OpenCV wrappers like SimpleCV, JavaCV, EmguCV,JavacvPro,..etc Chetan Allapur-OpenCV
  • 8. Pros and Cons: Competitor here: Matlab ❖ Cons: ● OpenCV does not provide the same ease of use when compared to MATLAB ● OpenCV lacks in memory management. ● Matlab is much easier to write lines of code. Similar functionality might be just 1–2 lines of code compared to OpenCV. Chetan Allapur-OpenCV
  • 9. OpenCV has a modular structure, which means that the package includes several shared or static libraries. The following modules are available: Chetan Allapur-OpenCV
  • 10. Modules: ● Core functionality (core): basic structures and algorithms. ● Image Processing (imgproc): Image processng algorithms (such as image filtering, image transformation,etc) ● Video Analysis (video): Video analysis (such as ,otion estimation and object tracking) ● High-level GUI (highgui): It has built-in UI and in addition, we use Qt(free and open-source widget toolkit for creating graphical user interfaces) Chetan Allapur-OpenCV
  • 11. Modules: ● Camera Calibration and 3D Reconstruction (calib3d): camera calibration and 3d reconstruction ● 2D Features Framework (features2d): 2D features framework (feature detectors, descriptors and descriptor matchers) ● Object Detection (objdetect): detection of objects and other items(e.g., faces, eyes, people, cars, etc,.) ● Video I/O (videoio): an easy-to-use interface to video capturing and video codecs. Chetan Allapur-OpenCV
  • 12. Installation steps in windows: 1. Step 1: Install Visual Studio. ... 2. Step 2: Install CMake. ... 3. Step 3: Install Anaconda (a python distribution) ... 4. Step 4: Download and extract opencv-3.3. ... 5. Step 5: Generate Visual Studio project using CMake. ... 6. Step 6: Compile OpenCV. ... 7. Step 7: Update System Environment Variables. ... 8. Step 8: Testing C++ code. (for more detailed explanation - Link) Chetan Allapur-OpenCV
  • 13. Installation steps in iOS: 1. Download OpenCV 3 from www.opencv.org. 2. Create iOS project by Xcode (Xcode 9.1 (9B55)). 3. Import opencv2. framework to project in General>Linked Frameworks and Libraries. 4. Set correct path in Build Settings>Framework Search Paths. 5. Import header before any module or framework of Cocoa. (For more detailed explanation - Link) Chetan Allapur-OpenCV
  • 14. Installation steps in Ubuntu: 1. Refresh the packages index and install the OpenCV package by typing: sudo apt update sudo apt install python3-opencv. ... 2. To verify the installation, import the cv2 module and print the OpenCV version (this is the installation of OenCV from Ubuntu Repository, for installng CV from the source - link) Chetan Allapur-OpenCV
  • 15. Resources: ➢ OpenCV Wiki- Link ➢ OpenCV: OpenCV modules - Link ➢ Introduction to Computer Vision - Link (Edge AI and Vision Alliance) ➢ OpenCV | NVIDIA Developer - Link (NVIDIA Developer) Chetan Allapur-OpenCV