OpenCV
Computer Vision
by Maryam Behzadi
behzadimbehzadim mariebehzadimariebehzadi mariebehzadimariebehzadi
What is Computer Vision?
What are its applications?
Why is it important?
How is it used?
What`s the Fuss About OpenCV Library?
What is Computer Vision?
What is Computer Vision?
Vision
Vision
●
Vision is the process of discovering what is present in the world and whereVision is the process of discovering what is present in the world and where
it is by looking.it is by looking.
Computer Vision
●
Computer Vision is the study of analysis of pictures and videos in order toComputer Vision is the study of analysis of pictures and videos in order to
achieve results similar to those as by people.achieve results similar to those as by people.
Computer Vision
The goal of computer vision is to recognize objects and their motion
Computer Vision and Nearby Fields
●
Computational Photography: Images to Images
●
Computer Graphics: Models to Images
●
Computer Vision: Images to Models
●
Machine Vision: Distinct Form of CV
Computer Vision and Nearby Fields
●
Image Processing
●
Scientific / medical imaging
●
Pattern Recognition
●
Learning
●
Artificial Intelligence
●
Visual Neuroscience
●
Applied Mathematics
●
...
History
History
●
1966: Minsky assigns computer vision as an
undergrad summer project
●
1960’s: interpretation of synthetic worlds
●
1970’s: some progress on interpreting selected
images
●
1980’s: ANNs come and go; shift toward geometry
and increased mathematical rigor
●
1990’s: face recognition; statistical analysis in vogue
●
2000’s: broader recognition; large annotated datasets
available; video processing starts
Why Computer Vision Matters?
Safety Health Security
Comfort AccessFun
Interesting applications of Computer Vision
Optical character recognition (OCR)
Digit recognition, AT&T labs
http://www.research.att.com/~yann/
Technology to convert scanned docs to text
• If you have a scanner, it probably came with OCR software
License plate readers
http://en.wikipedia.org/wiki/Automatic_number_plate_recognition
Interesting applications of Computer Vision
Face detection
• Many new digital cameras now
detect faces
– Canon, Sony, Fuji, …
Interesting applications of Computer Vision
Smile detection
Interesting applications of Computer Vision
3D Modeling from thousands of images
Image from Microsoft’s Virtual Earth
(see also: Google Earth)
Interesting applications of Computer Vision
LaneHawk by EvolutionRobotics
“A smart camera is flush-mounted in the checkout lane, continuously
watching for items. When an item is detected and recognized, the
cashier verifies the quantity of items that were found under the basket,
and continues to close the transaction. The item can remain under the
basket, and with LaneHawk,you are assured to get paid for it… “
Object recognition
Interesting applications of Computer Vision
Login without a password…
Fingerprint scanners
on many new laptops,
other devices
Face recognition systems now
beginning to appear more widely
http://www.sensiblevision.com/
Interesting applications of Computer Vision
Special effects
shape capture
The Matrix movies, ESC Entertainment, XYZRGB, NRC
Interesting applications of Computer Vision
Pirates of the Carribean, Industrial Light and Magic
Special effects
motion capture
Interesting applications of Computer Vision
Sports
Interesting applications of Computer Vision
Smart cars
Mobileye
– Vision systems currently in high-end BMW, GM, Volvo
models
– By 2010: 70% of car manufacturers.
• Video demo
Interesting applications of Computer Vision
Robotics
http://www.robocup.org/NASA’s Mars Spirit Rover
http://en.wikipedia.org/wiki/Spirit_rover
Interesting applications of Computer Vision
Medical imaging
Image guided surgery
Grimson et al., MIT
3D imaging
MRI, CT
Current State of the Art
You just saw examples of current systems.
– Many of these are less than 5 years old.
This is a very active research area, and rapidly changing.
– Many new applications in the next 5 years
To learn more about vision applications and companies.
– David Lowe maintains an excellent overview of vision companies
●
http://www.cs.ubc.ca/spider/lowe/vision.html
Tools
●
Image Processing (OpenCV, BoofCV, SimpleCV)
●
OCR (Tesseract)
●
Machine Learning Tools (DLib, SciPy)
●
Deep Learning Tools (TensorFlow, Theano, Torch, Keras)
●
Segmentation (SLIC Superpixels)
●
Multi-View Geometry (OpenMVG)
●
Visual Odometry (LIBVISO)
●
Scene Reconstruction (VisualSFM, MeshLab, Bundler)
●
Video Tracking (OpenTL)
●
Video Stabilization (Vid.stab)
OpenCV
●
OpenCV (Open Source Computer Vision Library)
●
open source computer vision and machine learning software library
●
Originally developed by Intel
●
free for any kind of use BSD-licensed product
●
OpenCV is written natively in C/C++ (Fast, Portable)
●
It has C++, Python, Java and MATLAB/Octave interfaces
●
Wrappers in other languages such as C#, Perl,[14] Ch,[15] Haskell[16] and Ruby
●
Cross-platform (Desktop and Mobile)
●
more than 2500 optimized algorithms
●
more than 47 thousand people of user community
●
mainly aimed at real-time computer vision
●
OpenCV 4.0 has been released (20 Nov 2018)
Why OpenCV?
●
Open Source and Free to use
●
Big community
●
Huge optimized library
●
Portability
●
Fast and Real Time Processing
●
Efficiency (Memory Management)
●
Multi-Core Processing
●
Enabled with OpenCL => hardware acceleration (GPU)
●
Development Environment
NVIDIA Report
OpenCV is the leading open source library for computer vision,
image processing and machine learning, and now features GPU
acceleration for real-time operation.
Over 250 functions have been ported to use CUDA delivering 5x to
100x speed up.
State of the Art
OpenCV Applications
●
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
●
Interactive art installations
OpenCV Functionality
●
Image/video I/O, processing, display (core, imgproc, highgui)
●
Object/feature detection (objdetect, features2d, nonfree)
●
Geometry-based monocular or stereo computer vision (calib3d, stitching, videostab)
●
Computational photography (photo, video, superres)
●
Machine learning & clustering (ml, flann)
●
CUDA acceleration (gpu)
OpenCV in Python
Installation
●
if you need only main modules
– pip install opencv-python
●
if you need both main and contrib modules
– pip install opencv-contrib-python
Usage
>>> import cv2
>>> print cv2.__version__
Further Info

https://opencv.org/

https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_tutorials.html

https://pypi.org/project/opencv-python/

https://github.com/jbhuang0604/awesome-computer-vision

Pattern Classification by Richard O. Duda

Computer Vision: Theory and Application
(Rick Szeliski 2010)
By the Way ...

More Related Content

PDF
Introduction to OpenCV
PDF
Computer vision and Open CV
PPTX
Introduction to OpenCV
PPTX
Object detection
PDF
OpenCV Introduction
PPTX
Opencv
PPTX
Computer vision
PPTX
Object tracking
Introduction to OpenCV
Computer vision and Open CV
Introduction to OpenCV
Object detection
OpenCV Introduction
Opencv
Computer vision
Object tracking

What's hot (20)

PDF
Introduction to Computer Vision using OpenCV
PPTX
AI Computer vision
PDF
Object detection and Instance Segmentation
PDF
[DL輪読会]End-to-end Recovery of Human Shape and Pose
PPT
Computer vesion
PPTX
Multiple object detection
PPTX
Computer Vision
PDF
From Image Processing To Computer Vision
PPTX
Project Face Detection
PPTX
Computer Vision Introduction
PDF
LiDAR-SLAM チュートリアル資料
PPT
Automated Face Detection System
PPTX
Object detection.pptx
PDF
Computer Vision
PPTX
[解説スライド] NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
PPTX
Computer vision ppt
ODP
Image Processing with OpenCV
PDF
[DL輪読会]Domain Adaptive Faster R-CNN for Object Detection in the Wild
PPTX
Object Detection & Tracking
PDF
ZytleBot: ROSベースの自律移動ロボットへのFPGAの統合に向けて
Introduction to Computer Vision using OpenCV
AI Computer vision
Object detection and Instance Segmentation
[DL輪読会]End-to-end Recovery of Human Shape and Pose
Computer vesion
Multiple object detection
Computer Vision
From Image Processing To Computer Vision
Project Face Detection
Computer Vision Introduction
LiDAR-SLAM チュートリアル資料
Automated Face Detection System
Object detection.pptx
Computer Vision
[解説スライド] NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
Computer vision ppt
Image Processing with OpenCV
[DL輪読会]Domain Adaptive Faster R-CNN for Object Detection in the Wild
Object Detection & Tracking
ZytleBot: ROSベースの自律移動ロボットへのFPGAの統合に向けて
Ad

Similar to OpenCV (20)

PPTX
Computer vision
PPTX
Synthetic environment
PPT
Open Cv – An Introduction To The Vision
PPT
Introduction
PDF
computervisionpresentationai-210331145836.pdf
PDF
SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
PPTX
OpenCV+Android.pptx
PPTX
Aict presentation on dpplppp sjdhfh.pptx
PPTX
Computer Vision di Era Industri 4.0
PPTX
Computer Vision Presentation Artificial Intelligence (AI)
PPTX
01 cie552 introduction
PPTX
PDF
IT in 2017
PPTX
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
PPTX
OpenCV presentation for engineering.pptx
PDF
How To Install OpenCV On Windows? Edureka
PPTX
Combining Machine Learning with Physical Computing - June 2023
PPTX
THE THIRD EYE-Presentation
PDF
Emerging Technologies
PDF
OpenCV (Open source computer vision)
Computer vision
Synthetic environment
Open Cv – An Introduction To The Vision
Introduction
computervisionpresentationai-210331145836.pdf
SEARIS 2014 Keynote - MiddleVR - Philosophy and architecture
OpenCV+Android.pptx
Aict presentation on dpplppp sjdhfh.pptx
Computer Vision di Era Industri 4.0
Computer Vision Presentation Artificial Intelligence (AI)
01 cie552 introduction
IT in 2017
EoT slides presented at the Road2CPS “Smart-Cyber-Physical Systems Clustering...
OpenCV presentation for engineering.pptx
How To Install OpenCV On Windows? Edureka
Combining Machine Learning with Physical Computing - June 2023
THE THIRD EYE-Presentation
Emerging Technologies
OpenCV (Open source computer vision)
Ad

Recently uploaded (20)

PDF
Complications of Minimal Access-Surgery.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PDF
Empowerment Technology for Senior High School Guide
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Education and Perspectives of Education.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
English Textual Question & Ans (12th Class).pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
What’s under the hood: Parsing standardized learning content for AI
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PPTX
Module on health assessment of CHN. pptx
PDF
Hazard Identification & Risk Assessment .pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
Complications of Minimal Access-Surgery.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Empowerment Technology for Senior High School Guide
Cambridge-Practice-Tests-for-IELTS-12.docx
Education and Perspectives of Education.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
English Textual Question & Ans (12th Class).pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
What’s under the hood: Parsing standardized learning content for AI
FORM 1 BIOLOGY MIND MAPS and their schemes
Module on health assessment of CHN. pptx
Hazard Identification & Risk Assessment .pdf
HVAC Specification 2024 according to central public works department
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Core Concepts of Personalized Learning and Virtual Learning Environments

OpenCV

  • 2. Computer Vision by Maryam Behzadi behzadimbehzadim mariebehzadimariebehzadi mariebehzadimariebehzadi
  • 3. What is Computer Vision? What are its applications? Why is it important? How is it used? What`s the Fuss About OpenCV Library?
  • 7. Vision ● Vision is the process of discovering what is present in the world and whereVision is the process of discovering what is present in the world and where it is by looking.it is by looking.
  • 8. Computer Vision ● Computer Vision is the study of analysis of pictures and videos in order toComputer Vision is the study of analysis of pictures and videos in order to achieve results similar to those as by people.achieve results similar to those as by people.
  • 9. Computer Vision The goal of computer vision is to recognize objects and their motion
  • 10. Computer Vision and Nearby Fields ● Computational Photography: Images to Images ● Computer Graphics: Models to Images ● Computer Vision: Images to Models ● Machine Vision: Distinct Form of CV
  • 11. Computer Vision and Nearby Fields ● Image Processing ● Scientific / medical imaging ● Pattern Recognition ● Learning ● Artificial Intelligence ● Visual Neuroscience ● Applied Mathematics ● ...
  • 13. History ● 1966: Minsky assigns computer vision as an undergrad summer project ● 1960’s: interpretation of synthetic worlds ● 1970’s: some progress on interpreting selected images ● 1980’s: ANNs come and go; shift toward geometry and increased mathematical rigor ● 1990’s: face recognition; statistical analysis in vogue ● 2000’s: broader recognition; large annotated datasets available; video processing starts
  • 14. Why Computer Vision Matters? Safety Health Security Comfort AccessFun
  • 15. Interesting applications of Computer Vision Optical character recognition (OCR) Digit recognition, AT&T labs http://www.research.att.com/~yann/ Technology to convert scanned docs to text • If you have a scanner, it probably came with OCR software License plate readers http://en.wikipedia.org/wiki/Automatic_number_plate_recognition
  • 16. Interesting applications of Computer Vision Face detection • Many new digital cameras now detect faces – Canon, Sony, Fuji, …
  • 17. Interesting applications of Computer Vision Smile detection
  • 18. Interesting applications of Computer Vision 3D Modeling from thousands of images Image from Microsoft’s Virtual Earth (see also: Google Earth)
  • 19. Interesting applications of Computer Vision LaneHawk by EvolutionRobotics “A smart camera is flush-mounted in the checkout lane, continuously watching for items. When an item is detected and recognized, the cashier verifies the quantity of items that were found under the basket, and continues to close the transaction. The item can remain under the basket, and with LaneHawk,you are assured to get paid for it… “ Object recognition
  • 20. Interesting applications of Computer Vision Login without a password… Fingerprint scanners on many new laptops, other devices Face recognition systems now beginning to appear more widely http://www.sensiblevision.com/
  • 21. Interesting applications of Computer Vision Special effects shape capture The Matrix movies, ESC Entertainment, XYZRGB, NRC
  • 22. Interesting applications of Computer Vision Pirates of the Carribean, Industrial Light and Magic Special effects motion capture
  • 23. Interesting applications of Computer Vision Sports
  • 24. Interesting applications of Computer Vision Smart cars Mobileye – Vision systems currently in high-end BMW, GM, Volvo models – By 2010: 70% of car manufacturers. • Video demo
  • 25. Interesting applications of Computer Vision Robotics http://www.robocup.org/NASA’s Mars Spirit Rover http://en.wikipedia.org/wiki/Spirit_rover
  • 26. Interesting applications of Computer Vision Medical imaging Image guided surgery Grimson et al., MIT 3D imaging MRI, CT
  • 27. Current State of the Art You just saw examples of current systems. – Many of these are less than 5 years old. This is a very active research area, and rapidly changing. – Many new applications in the next 5 years To learn more about vision applications and companies. – David Lowe maintains an excellent overview of vision companies ● http://www.cs.ubc.ca/spider/lowe/vision.html
  • 28. Tools ● Image Processing (OpenCV, BoofCV, SimpleCV) ● OCR (Tesseract) ● Machine Learning Tools (DLib, SciPy) ● Deep Learning Tools (TensorFlow, Theano, Torch, Keras) ● Segmentation (SLIC Superpixels) ● Multi-View Geometry (OpenMVG) ● Visual Odometry (LIBVISO) ● Scene Reconstruction (VisualSFM, MeshLab, Bundler) ● Video Tracking (OpenTL) ● Video Stabilization (Vid.stab)
  • 29. OpenCV ● OpenCV (Open Source Computer Vision Library) ● open source computer vision and machine learning software library ● Originally developed by Intel ● free for any kind of use BSD-licensed product ● OpenCV is written natively in C/C++ (Fast, Portable) ● It has C++, Python, Java and MATLAB/Octave interfaces ● Wrappers in other languages such as C#, Perl,[14] Ch,[15] Haskell[16] and Ruby ● Cross-platform (Desktop and Mobile) ● more than 2500 optimized algorithms ● more than 47 thousand people of user community ● mainly aimed at real-time computer vision ● OpenCV 4.0 has been released (20 Nov 2018)
  • 30. Why OpenCV? ● Open Source and Free to use ● Big community ● Huge optimized library ● Portability ● Fast and Real Time Processing ● Efficiency (Memory Management) ● Multi-Core Processing ● Enabled with OpenCL => hardware acceleration (GPU) ● Development Environment
  • 31. NVIDIA Report OpenCV is the leading open source library for computer vision, image processing and machine learning, and now features GPU acceleration for real-time operation. Over 250 functions have been ported to use CUDA delivering 5x to 100x speed up.
  • 32. State of the Art OpenCV Applications ● 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 ● Interactive art installations OpenCV Functionality ● Image/video I/O, processing, display (core, imgproc, highgui) ● Object/feature detection (objdetect, features2d, nonfree) ● Geometry-based monocular or stereo computer vision (calib3d, stitching, videostab) ● Computational photography (photo, video, superres) ● Machine learning & clustering (ml, flann) ● CUDA acceleration (gpu)
  • 33. OpenCV in Python Installation ● if you need only main modules – pip install opencv-python ● if you need both main and contrib modules – pip install opencv-contrib-python Usage >>> import cv2 >>> print cv2.__version__
  • 35. By the Way ...