SlideShare a Scribd company logo
1 of 5
OpenCV Python Tutorial For Beginners 1 - Introduction
to what is OpenCV
Welcome to articl on OpenCV Python Tutorial For Beginners. In this article I
am going to give you a brief Introduction to OpenCV and computer vision.
OpenCV is an image
processing library created by Intel and later supported by Willow Garage and
now maintained by Itseez. opencv is available on Mac, Windows, Linux.
Works in C, C++, and Python. it is Open Source and free.opencv is easy to
use and install. Starting with an overview of what the course will be covering,
we move on to discussing morphological operations and practically learn
how they work on images. We will then learn contrast enhancement using
equalization and contrast limiting.
Finally we will learn 3 methods to subtract the background from the video
and implement them using OpenCV. At the end of this course, you will have a
firm grasp of Computer Vision techniques using OpenCV libraries. This
course will be your gateway to the world of data science. Feel the real power
of Python and programming! The course offers you a unique approach of
learning how to code by solving real world problems.
Open CV tutorial for beginners using Python:
In this Article I'm going to give you a brief
introduction about open CV :
but first of all let's see what is computer vision because open CV is an open
source computer vision library so computer vision is the way of teaching
intelligence to machines and making them see things just like humans so
what happens when a human see an image he will be able to recognize the
faces which are there inside the images so in its simplest form computer
vision is what allows computers to see and process visual data just like
humans computer vision involves analyzing images to produce useful
information.
So to give you some examples a self-driving car it can detects the lanes
using computer visions or you might have wondered how Facebook detects
images when you upload the images of you with your friends it becomes
possible by Facebook's face an image recognition technology.
So now let's see what is openCV:
So open CV which stands for open source computer vision is a library of
programming functions mainly aimed at real-time computer vision it is
originally developed by Intel and then it was later supported by a developer
called Willow Garage and now it is supported and maintained by ITC's.
Now open CV is available on Mac Windows and various Linux operating
systems so we can say that open CV is a cross-platform library now you can
work on open CV using C C++ or Python and we will be using Python to learn
open CV.
Open CV is a open source and free library which is licensed under BSD
license and it's said that it is very easy to use an installer that we will see
when we will install open CV on various operating systems .
now because open CV primarily deals with computer vision that means
dealing with mainly images or videos.
Read also :Free e-Book Learning OpenCV
So I wanted to show you how a digital image is seen by a computer so digital
images are typically stored in the form of matrix now if you have heard about
PPI or pixel per inch which refers display resolution that means how many
individual pixels are displayed in one inch of digital image.
So when a computer sees a picture it sees it in the form of pixel matrix.
Now there are two type of digital images one are called grayscale images and
other are called colored images.
so in grayscale images each pixel represents the intensity of only one shade
that means how bright or dark the pixel is in other word it is said that it has
only one channel so on the right hand side you can see a grayscale image
and on the left hand side you can see a colored image.
so in colored images we have three channels that is our GB which stands for
red green blue so grayscale images have one channel and colored images
have three channels your standard digital camera have three channels
that means red green blue channels.
so we will learn more about images and how we can process images using
OpenCV in the later videos.
Read also :OpenCV by Example Enhance your understanding of computer vision and
image processing by developing realistic projects in OpenCV 3
now there is one more thing which I want to show you is numpy.
so we are going to learn OpenCV using Python so when you will install
OpenCV library for python on your operating system numpy will be
automatically installed with this library.
so first of all what is numb by
So numpy is a highly optimized library for numerical operations now as I told
you digital images are 2d arrays of pixels and numpy library is a general-
purpose array processing package library.
so it provides a high-performance multi-dimensional array object and tools
for working with these arrays which makes the processing of images easier
now all the opencv array structures are converted to and converted from
numpy arrays and in addition you can use more convenient indexing system
rather than using for loops .
so when you want to learn OpenCV using Python you need to have some
knowledge about numpy also so if you have some knowledge of Nampa
library it's good but don'tworry I will teach you step by step so you will not
miss anything so that was
a brief introduction about computer vision and OpenCV in the next toturial.
I'm going to show you how you can install Python OpenCV library and then
we will see how we can work with this OpenCV library so that's it for this
video I will see you in the next Article.

More Related Content

Similar to Open cv python tutorial for beginners 1

OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012Wingston
 
Computer vision and Open CV
Computer vision and Open CVComputer vision and Open CV
Computer vision and Open CVChariza Pladin
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCVAutomatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCVEditor IJCATR
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV Editor IJCATR
 
It is difficult
It is difficultIt is difficult
It is difficultPVS-Studio
 
Introduction to OpenCV 3.x (with Java)
Introduction to OpenCV 3.x (with Java)Introduction to OpenCV 3.x (with Java)
Introduction to OpenCV 3.x (with Java)Luigi De Russis
 
Building an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learnedBuilding an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learnedWojciech Koszek
 
Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)IJERA Editor
 
Adapt Update & Roadmap - Deborah Limb & Paul McElvaney
Adapt Update & Roadmap - Deborah Limb & Paul McElvaneyAdapt Update & Roadmap - Deborah Limb & Paul McElvaney
Adapt Update & Roadmap - Deborah Limb & Paul McElvaneyLearning Pool Ltd
 
Designing A Project Using Java Programming
Designing A Project Using Java ProgrammingDesigning A Project Using Java Programming
Designing A Project Using Java ProgrammingKaty Allen
 
Starting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 ProcessorsStarting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 ProcessorsToradex
 
AsyncAPI specification
AsyncAPI specificationAsyncAPI specification
AsyncAPI specificationfmvilas
 
I just had to check ICQ project
I just had to check ICQ projectI just had to check ICQ project
I just had to check ICQ projectPVS-Studio
 
Open Cv – An Introduction To The Vision
Open Cv – An Introduction To The VisionOpen Cv – An Introduction To The Vision
Open Cv – An Introduction To The VisionHemanth Haridas
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvMohdSalim34
 
programming_tutorial_course_ lesson_1.pptx
programming_tutorial_course_ lesson_1.pptxprogramming_tutorial_course_ lesson_1.pptx
programming_tutorial_course_ lesson_1.pptxaboma2hawi
 
Why Students Need the CppCat Code Analyzer
Why Students Need the CppCat Code AnalyzerWhy Students Need the CppCat Code Analyzer
Why Students Need the CppCat Code AnalyzerPVS-Studio
 

Similar to Open cv python tutorial for beginners 1 (20)

Open cv
Open cvOpen cv
Open cv
 
Opencv
OpencvOpencv
Opencv
 
OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012
 
Computer vision and Open CV
Computer vision and Open CVComputer vision and Open CV
Computer vision and Open CV
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCVAutomatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
 
It is difficult
It is difficultIt is difficult
It is difficult
 
Introduction to OpenCV 3.x (with Java)
Introduction to OpenCV 3.x (with Java)Introduction to OpenCV 3.x (with Java)
Introduction to OpenCV 3.x (with Java)
 
Building an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learnedBuilding an Open Source iOS app: lessons learned
Building an Open Source iOS app: lessons learned
 
Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)
 
Adapt Update & Roadmap - Deborah Limb & Paul McElvaney
Adapt Update & Roadmap - Deborah Limb & Paul McElvaneyAdapt Update & Roadmap - Deborah Limb & Paul McElvaney
Adapt Update & Roadmap - Deborah Limb & Paul McElvaney
 
Designing A Project Using Java Programming
Designing A Project Using Java ProgrammingDesigning A Project Using Java Programming
Designing A Project Using Java Programming
 
Starting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 ProcessorsStarting with OpenCV on i.MX 6 Processors
Starting with OpenCV on i.MX 6 Processors
 
AsyncAPI specification
AsyncAPI specificationAsyncAPI specification
AsyncAPI specification
 
OpenCV+Android.pptx
OpenCV+Android.pptxOpenCV+Android.pptx
OpenCV+Android.pptx
 
I just had to check ICQ project
I just had to check ICQ projectI just had to check ICQ project
I just had to check ICQ project
 
Open Cv – An Introduction To The Vision
Open Cv – An Introduction To The VisionOpen Cv – An Introduction To The Vision
Open Cv – An Introduction To The Vision
 
Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
 
programming_tutorial_course_ lesson_1.pptx
programming_tutorial_course_ lesson_1.pptxprogramming_tutorial_course_ lesson_1.pptx
programming_tutorial_course_ lesson_1.pptx
 
Why Students Need the CppCat Code Analyzer
Why Students Need the CppCat Code AnalyzerWhy Students Need the CppCat Code Analyzer
Why Students Need the CppCat Code Analyzer
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

Open cv python tutorial for beginners 1

  • 1. OpenCV Python Tutorial For Beginners 1 - Introduction to what is OpenCV Welcome to articl on OpenCV Python Tutorial For Beginners. In this article I am going to give you a brief Introduction to OpenCV and computer vision. OpenCV is an image processing library created by Intel and later supported by Willow Garage and now maintained by Itseez. opencv is available on Mac, Windows, Linux. Works in C, C++, and Python. it is Open Source and free.opencv is easy to use and install. Starting with an overview of what the course will be covering, we move on to discussing morphological operations and practically learn how they work on images. We will then learn contrast enhancement using equalization and contrast limiting. Finally we will learn 3 methods to subtract the background from the video and implement them using OpenCV. At the end of this course, you will have a firm grasp of Computer Vision techniques using OpenCV libraries. This course will be your gateway to the world of data science. Feel the real power of Python and programming! The course offers you a unique approach of learning how to code by solving real world problems.
  • 2. Open CV tutorial for beginners using Python: In this Article I'm going to give you a brief introduction about open CV : but first of all let's see what is computer vision because open CV is an open source computer vision library so computer vision is the way of teaching intelligence to machines and making them see things just like humans so what happens when a human see an image he will be able to recognize the faces which are there inside the images so in its simplest form computer vision is what allows computers to see and process visual data just like humans computer vision involves analyzing images to produce useful information. So to give you some examples a self-driving car it can detects the lanes using computer visions or you might have wondered how Facebook detects images when you upload the images of you with your friends it becomes possible by Facebook's face an image recognition technology.
  • 3. So now let's see what is openCV: So open CV which stands for open source computer vision is a library of programming functions mainly aimed at real-time computer vision it is originally developed by Intel and then it was later supported by a developer called Willow Garage and now it is supported and maintained by ITC's. Now open CV is available on Mac Windows and various Linux operating systems so we can say that open CV is a cross-platform library now you can work on open CV using C C++ or Python and we will be using Python to learn open CV. Open CV is a open source and free library which is licensed under BSD license and it's said that it is very easy to use an installer that we will see when we will install open CV on various operating systems . now because open CV primarily deals with computer vision that means dealing with mainly images or videos. Read also :Free e-Book Learning OpenCV So I wanted to show you how a digital image is seen by a computer so digital images are typically stored in the form of matrix now if you have heard about PPI or pixel per inch which refers display resolution that means how many individual pixels are displayed in one inch of digital image. So when a computer sees a picture it sees it in the form of pixel matrix.
  • 4. Now there are two type of digital images one are called grayscale images and other are called colored images. so in grayscale images each pixel represents the intensity of only one shade that means how bright or dark the pixel is in other word it is said that it has only one channel so on the right hand side you can see a grayscale image and on the left hand side you can see a colored image. so in colored images we have three channels that is our GB which stands for red green blue so grayscale images have one channel and colored images have three channels your standard digital camera have three channels that means red green blue channels. so we will learn more about images and how we can process images using OpenCV in the later videos.
  • 5. Read also :OpenCV by Example Enhance your understanding of computer vision and image processing by developing realistic projects in OpenCV 3 now there is one more thing which I want to show you is numpy. so we are going to learn OpenCV using Python so when you will install OpenCV library for python on your operating system numpy will be automatically installed with this library. so first of all what is numb by So numpy is a highly optimized library for numerical operations now as I told you digital images are 2d arrays of pixels and numpy library is a general- purpose array processing package library. so it provides a high-performance multi-dimensional array object and tools for working with these arrays which makes the processing of images easier now all the opencv array structures are converted to and converted from numpy arrays and in addition you can use more convenient indexing system rather than using for loops . so when you want to learn OpenCV using Python you need to have some knowledge about numpy also so if you have some knowledge of Nampa library it's good but don'tworry I will teach you step by step so you will not miss anything so that was a brief introduction about computer vision and OpenCV in the next toturial. I'm going to show you how you can install Python OpenCV library and then we will see how we can work with this OpenCV library so that's it for this video I will see you in the next Article.