SlideShare a Scribd company logo
1 of 3
Download to read offline
K. B. Neelima Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 9( Version 1), September 2014, pp.107-109 
www.ijera.com 107 | P a g e 
Image Detection and Count Using Open Computer Vision (Opencv) K. B. Neelima1, Dr. T. Saravanan2 1Research Scholar, Assistant Professor. 2Professor & HOD, Bharath University, Chennai. ABSTRACT The purpose of this paper is to introduce and quickly make a reader to provide basics of OpenCV (Open Source Computer Vision) without having to go through the lengthy reference manuals and books. OpenCV is actually an open source library for image and video analysis, originally introduced more than decade ago by Intel. The latest major change took place in 2009 (OpenCV2) which includes main changes to the C++ interface. Nowadays the library has >2500 optimized algorithms. It is extensively used around the world, having >2.5M downloads and >40K people in the user group. Regardless of whether one is a novice C++ programmer or a professional software developer, unaware of OpenCV, the content should be interesting mainly for the researchers and graduate students in image processing and computer vision areas. 
Keywords: OpenCV, image processing, computer vision, calibration, face detection. 
I. INTRODUCTION 
OpenCV means Intel Open Source Computer Vision Library. It is a collection of C functions and a few C++ classesuses to implement the Image Processing and Computer Vision algorithms. The Key features about it are Cross-Platform API of C functions FREE for commercial and non-commercial uses. This means the user can take advantage of high speed implementations of functions commonly used in Computer Vision/Image Processing. OpenCV was designed for computational efficiency and with a strong focus on real time applications. OpenCV can be written in optimized C and takes the advantage of multicore processors. OpenCV automatically uses the appropriate integrated Performance Primitives (IPP) library at runtime. One of OpenCV’s goals is to provide a simple infrastructure of computer vision to help people for build the fairly sophisticated vision applications quickly. The OpenCV library contains over 500 functions that span many areas in vision, including factory product inspection, medical imaging, security, user interface, camera calibration, stereo vision, and robotics. 
II. DOWNLOADING AND INSTALLING OPENCV 
The OpenCV site is on the Source Forge at http://SourceForge.net/projects/opencvlibrary and the OpenCV Wiki [OpenCV Wiki] page is at http://opencvlibrary.SourceForge.net. For Linux, the source distribution is the fi le opencv-1.0.0.tar.gz; for Windows, you want OpenCV 1.0.exe. However, the most up to date version is always on the CVS server at Source Forge. Once installed anyone can download 
the libraries and then install them. In the text file named INSTALL directly under the .../opencv/ directory, the installation instruction on Linux or Mac OS are availed and also describes how to build and run the OpenCV testing routines. INSTALL lists the additional programs you’ll need in order to become an OpenCV developer, such as automake, autoconf, libtool, and swig. Windows-Get the executable installation from Source Forge and run it. It will install OpenCV, register Direct Show filters, and perform various post-installation procedures. The system is ready to start OpenCV. You can always go to the .../opencv/_make directory and openopencv.sln with MSVC++ or MSVC.NET 2005, or open opencv.dsw with lower versions of MSVC++ and build debug versions or rebuild release versions of the library. To add the commercial IPP performance optimizations to Windows, obtain and install IPP from the Intel site (http://www.intel.com/soft ware/products/ipp/index.htm);use version 5.1 or later. Make sure the appropriate binary folder (e.g., c:/program fi les/intel/ipp/5.1/ia32/bin) is in the system path. 
III. OPENCV STRUCTURE AND CONTENT 
OpenCV is broadly structured into five main components, four of which are shown in Figure 1.0. The CV component contains the basic image processing and higher-level computer vision algorithms; ML is the machine learning library, which includes many statistical classifiers and clustering tools. For storing and loading video and images, the HighGUI contains I/O routines and functions and CXCore contains the basic data structures and content. 
RESEARCH ARTICLE OPEN ACCESS
K. B. Neelima Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 9( Version 1), September 2014, pp.107-109 
www.ijera.com 108 | P a g e 
Figure 1.0 Figure 1.0 does not include CvAux, which contains both defunct areas (embedded HMM face recognition) and experimental algorithms (background/foreground segmentation). CvAux is not well documented in the Wiki and is not documented at all in the .../opencv/docs subdirectory. 
IV. HIGH GUI 
The OpenCV function that allows the user to interact with the operating system, the file system, and hardware such as cameras are collected into a library called HighGUI (“high-level graphical user interface”). HighGUI allows the user to open windows, to display images, to read and write graphics-related files (both images and video), and to handle simple mouse, pointer, and keyboard events. The HighGUI library in OpenCV can be divided into three parts: the hardware part, the fi le system part, and the GUI part. The hardware part is primarily concerned with the operation of cameras. In most operating systems, interaction with a camera is a tedious and painful task. HighGUI allows an easy way to query a camera and retrieve the latest image from the camera. 
V. IMAGE PROCESSING 
“Image processing”, mean that just: using higher-level operators that are defined on image structures in order to accomplish tasks whose meaning is naturally defined in the context of graphical, visual images. A. SMOOTHING-Smoothing, also called blurring is a simple and frequently used image processing operation. There are many reasons for smoothing, but usually it is done to reducecamera artifacts and noise. Smoothing is also important when there is importance to reduce the resolution of an image in a principled way. OpenCV offers five different smoothing operations at this time. All of them are supported through one function, cvSmooth(),* which takes user’s desired form of smoothing as an argument. 
Figure 2.0 Image smoothing by block averaging: on the left are the input images; on the right, the output images. The simple blur operation, as exemplified by CV_BLUR in Figure 2-1, is the simplest case. Each output pixelis the simple mean of all the pixels in a window around the corresponding input pixel. Simple blur supports 1–4 image channels and works on 8-bit images or 32-bit floating-point images. B. IMAGE MORPHOLOGY--OpenCV provides a fast, convenient interface for doing morphological transformations on image. Dilation and erosion are the basic Morphological transformationsand they arise in a wide variety of contexts such as removing noise, isolating individual elements, and joining disparate elements in an image. C. RESIZE--The user may often encounter an image of some size that is to be converted to an image of someother size and may want to upsize (zoom in) or downsize (zoom out) the image; this can be accomplished by using the either task cvResize(). This function will fit the source image exactly to destination image size. 
VI. IMAGE TRANSFORMATION 
Image transforms, are methods for changing an image into an alternate representation of the data entirely. The original image is converted to an alternate representation of the data. The result of this operation is stored in an OpenCV “image” structure, but the individual “pixels” in this new image represents input spectral components. OpenCV provides complete implementations of some of the more common ones as well as building blocks to help the user implement own image transforms. 
VII. TRACKING AND MOTION 
Identification amounts to finding the object of interest from one frame in a subsequent frame of the video stream.Techniques for tracking unidentified objects typically involve tracking visually significant key points (more on what constitutes “significance”), rather than extended objects. OpenCV provides two methods for achieving this: the Lucas-Kanade* [Lucas81] and Horn-Schunck [Horn81] techniques, which represent what are oft en referred to as sparse or dense optical flow respectively.
K. B. Neelima Int. Journal of Engineering Research and Applications www.ijera.com 
ISSN : 2248-9622, Vol. 4, Issue 9( Version 1), September 2014, pp.107-109 
www.ijera.com 109 | P a g e 
VIII. CAMERA CALIBRATION 
The actual calibration is done via cvCalibrateCamera2(). In this routine, the method of calibration is to target the camera on a known structure that has many individual and identifiable points. By viewing this structure from different angles, it is possible to compute the (relative) location and orientation of the cameraas well as the intrinsic parameters of the camera. In order to provide multiple views, rotate and translate the object. 
IX. MACHINE LEARNING 
The goal of machine learning (ML) is to turn data into information. After learning from a collection of data, a machine to be able to answer questions about the data: What other data is most similar to this data? Is there a car in the image? What ad will the user respond to? Often there is cost component, so this question could become: “Of the products that the user makes the most money from, which one will the user most likely buy if we show them an ad for it?” Machine learning turns data into information by extracting rules or patterns from that data. 
X. CONCLUSIONS 
Figure 3.0. Face detection on a park scene: some tilted faces are not detected, for the image shown; more than a million sites and scales were searched to achieve this result in about 1.5 seconds on a 2 GHz machineThe Figure 3.0 shows the detected faces in the shown photo. This detection on a given photo takes place in nano seconds and the output is shown in just about 1.5 seconds on a machine having a speed of 2 GHz. OpenCV has long received support from Intel Corporation and Willow Garage (www.willowgarage.com).One of the key new development areas for OpenCV is robotic perception. Computer vision has a rich future ahead; OpenCV seems likely to be (at least in part) one of the key enabling technologies for computer vision. Endless opportunities for creativity and profound contribution lie ahead. REFERENCES [1] Intel corporation, “Open Source Computer Vision Library – [Reference Manual] Copyright © 1999-2001 Intel Corporation. 
[2] Gary Bradski and Adrian Kaehler, O’REILLY Learning OpenCV Copyright © 2008 Printed in the United States of America. 
[3] [OpenCV Wiki] Open Source Computer Vision Library Wiki, http://opencvlibrary.sourceforge.net/. 
[4] [OpenCV] Open Source Computer Vision Library (OpenCV), http://sourceforge.net/ projects/opencvlibrary/. [5] D. Chen and G. Zhang, “A new sub-pixel detector for x-corners in cameracalibration targets,” WSCG Short Papers (2005). [6] T. A. Clarke and J. G. Fryer, “The Development of Camera Calibration Methods and Models,” Photogrammetric Record 16 (1998). [7] A. Colombari, A. Fusiello, and V. Murino, “Video objects segmentation by robust background modeling,” International Conference on Image Analysis and Processing, September 2007. [8] H. Dahlkamp, A. Kaehler, D. Stavens, S. Thrun, and G. Bradski, “Selfsupervised monocular road detection in desert terrain,” Robotics: Science and Systems, Philadelphia, 2006.

More Related Content

Viewers also liked

3.1.1 rambu rambu penyusunan rpp tematik
3.1.1 rambu rambu penyusunan rpp tematik3.1.1 rambu rambu penyusunan rpp tematik
3.1.1 rambu rambu penyusunan rpp tematikOmay Widyana
 
Some Pictures Of Romania
Some Pictures Of  RomaniaSome Pictures Of  Romania
Some Pictures Of RomaniaOana
 
Agenda didáctica
Agenda didácticaAgenda didáctica
Agenda didácticadiegofms25
 
Anexa 1 statutul femeii
Anexa 1 statutul femeiiAnexa 1 statutul femeii
Anexa 1 statutul femeiiClaudia Katay
 
The heart of anatolia (muş)
The heart of anatolia (muş)The heart of anatolia (muş)
The heart of anatolia (muş)İbrahim DAL
 
Instrumentos slide share
Instrumentos slide shareInstrumentos slide share
Instrumentos slide shareaixarosa
 
Rubens 2
Rubens 2Rubens 2
Rubens 2GIA VER
 
Diseno de-presentaciones-fabricio
Diseno de-presentaciones-fabricioDiseno de-presentaciones-fabricio
Diseno de-presentaciones-fabricioFabricio Maminote
 
Apresentação English in Dublin / Inglês em Dublin
Apresentação English in Dublin / Inglês em DublinApresentação English in Dublin / Inglês em Dublin
Apresentação English in Dublin / Inglês em DublinAnderson Palma
 
Introducción Mision de los Profesionistas Marco Domínguez
Introducción Mision de los Profesionistas Marco DomínguezIntroducción Mision de los Profesionistas Marco Domínguez
Introducción Mision de los Profesionistas Marco DomínguezMarco
 
Performance evaluation of Effluent Treatment Plant of Dairy Industry
Performance evaluation of Effluent Treatment Plant of Dairy IndustryPerformance evaluation of Effluent Treatment Plant of Dairy Industry
Performance evaluation of Effluent Treatment Plant of Dairy IndustryIJERA Editor
 

Viewers also liked (20)

3
33
3
 
3.1.1 rambu rambu penyusunan rpp tematik
3.1.1 rambu rambu penyusunan rpp tematik3.1.1 rambu rambu penyusunan rpp tematik
3.1.1 rambu rambu penyusunan rpp tematik
 
Some Pictures Of Romania
Some Pictures Of  RomaniaSome Pictures Of  Romania
Some Pictures Of Romania
 
Firewall
FirewallFirewall
Firewall
 
Agenda didáctica
Agenda didácticaAgenda didáctica
Agenda didáctica
 
2
22
2
 
Anexa 1 statutul femeii
Anexa 1 statutul femeiiAnexa 1 statutul femeii
Anexa 1 statutul femeii
 
The heart of anatolia (muş)
The heart of anatolia (muş)The heart of anatolia (muş)
The heart of anatolia (muş)
 
Instrumentos slide share
Instrumentos slide shareInstrumentos slide share
Instrumentos slide share
 
El ayuntamiento
El ayuntamientoEl ayuntamiento
El ayuntamiento
 
Qué es relata ( antes renata)
Qué es relata ( antes renata)Qué es relata ( antes renata)
Qué es relata ( antes renata)
 
Pc
PcPc
Pc
 
Rubens 2
Rubens 2Rubens 2
Rubens 2
 
Diseno de-presentaciones-fabricio
Diseno de-presentaciones-fabricioDiseno de-presentaciones-fabricio
Diseno de-presentaciones-fabricio
 
Tejiendo las bases para una teoría del emplazamiento
Tejiendo las bases para una teoría del emplazamientoTejiendo las bases para una teoría del emplazamiento
Tejiendo las bases para una teoría del emplazamiento
 
Apresentação English in Dublin / Inglês em Dublin
Apresentação English in Dublin / Inglês em DublinApresentação English in Dublin / Inglês em Dublin
Apresentação English in Dublin / Inglês em Dublin
 
1
11
1
 
2014_FPO_Novikov
2014_FPO_Novikov2014_FPO_Novikov
2014_FPO_Novikov
 
Introducción Mision de los Profesionistas Marco Domínguez
Introducción Mision de los Profesionistas Marco DomínguezIntroducción Mision de los Profesionistas Marco Domínguez
Introducción Mision de los Profesionistas Marco Domínguez
 
Performance evaluation of Effluent Treatment Plant of Dairy Industry
Performance evaluation of Effluent Treatment Plant of Dairy IndustryPerformance evaluation of Effluent Treatment Plant of Dairy Industry
Performance evaluation of Effluent Treatment Plant of Dairy Industry
 

Similar to Image Detection and Count Using Open Computer Vision (Opencv)

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
 
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
 
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
 
Introduction to OpenCV 2.3.1
Introduction to OpenCV 2.3.1Introduction to OpenCV 2.3.1
Introduction to OpenCV 2.3.1Luigi De Russis
 
OpenCV (Open source computer vision)
OpenCV (Open source computer vision)OpenCV (Open source computer vision)
OpenCV (Open source computer vision)Chetan Allapur
 
502021435-12345678Minor-Project-Ppt.pptx
502021435-12345678Minor-Project-Ppt.pptx502021435-12345678Minor-Project-Ppt.pptx
502021435-12345678Minor-Project-Ppt.pptxshrey4922
 
Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Schuyler Kennedy
 
16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docxssuser90e017
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVinay Diddi
 
OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012Wingston
 
Presentation1.2.pptx
Presentation1.2.pptxPresentation1.2.pptx
Presentation1.2.pptxpranaykusuma
 
Iirdem screen less displays – the imminent vanguard
Iirdem screen less displays – the imminent vanguardIirdem screen less displays – the imminent vanguard
Iirdem screen less displays – the imminent vanguardIaetsd Iaetsd
 
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019Codemotion
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSFACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSIRJET Journal
 
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.orgEdge AI and Vision Alliance
 
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)Luigi De Russis
 

Similar to Image Detection and Count Using Open Computer Vision (Opencv) (20)

Open cv
Open cvOpen cv
Open cv
 
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
 
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
 
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
 
Introduction to OpenCV 2.3.1
Introduction to OpenCV 2.3.1Introduction to OpenCV 2.3.1
Introduction to OpenCV 2.3.1
 
OpenCV (Open source computer vision)
OpenCV (Open source computer vision)OpenCV (Open source computer vision)
OpenCV (Open source computer vision)
 
502021435-12345678Minor-Project-Ppt.pptx
502021435-12345678Minor-Project-Ppt.pptx502021435-12345678Minor-Project-Ppt.pptx
502021435-12345678Minor-Project-Ppt.pptx
 
OpenCV+Android.pptx
OpenCV+Android.pptxOpenCV+Android.pptx
OpenCV+Android.pptx
 
Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16
 
Open Cv
Open CvOpen Cv
Open Cv
 
16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx16 OpenCV Functions to Start your Computer Vision journey.docx
16 OpenCV Functions to Start your Computer Vision journey.docx
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driver
 
OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012
 
Presentation1.2.pptx
Presentation1.2.pptxPresentation1.2.pptx
Presentation1.2.pptx
 
Iirdem screen less displays – the imminent vanguard
Iirdem screen less displays – the imminent vanguardIirdem screen less displays – the imminent vanguard
Iirdem screen less displays – the imminent vanguard
 
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
Matteo Valoriani, Antimo Musone - The Future of Factory - Codemotion Rome 2019
 
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDSFACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
FACE COUNTING USING OPEN CV & PYTHON FOR ANALYZING UNUSUAL EVENTS IN CROWDS
 
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
“OpenCV: Past, Present and Future,” a Presentation from OpenCV.org
 
Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)Introduction to OpenCV (with Java)
Introduction to OpenCV (with Java)
 

Recently uploaded

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 

Recently uploaded (20)

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 

Image Detection and Count Using Open Computer Vision (Opencv)

  • 1. K. B. Neelima Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 9( Version 1), September 2014, pp.107-109 www.ijera.com 107 | P a g e Image Detection and Count Using Open Computer Vision (Opencv) K. B. Neelima1, Dr. T. Saravanan2 1Research Scholar, Assistant Professor. 2Professor & HOD, Bharath University, Chennai. ABSTRACT The purpose of this paper is to introduce and quickly make a reader to provide basics of OpenCV (Open Source Computer Vision) without having to go through the lengthy reference manuals and books. OpenCV is actually an open source library for image and video analysis, originally introduced more than decade ago by Intel. The latest major change took place in 2009 (OpenCV2) which includes main changes to the C++ interface. Nowadays the library has >2500 optimized algorithms. It is extensively used around the world, having >2.5M downloads and >40K people in the user group. Regardless of whether one is a novice C++ programmer or a professional software developer, unaware of OpenCV, the content should be interesting mainly for the researchers and graduate students in image processing and computer vision areas. Keywords: OpenCV, image processing, computer vision, calibration, face detection. I. INTRODUCTION OpenCV means Intel Open Source Computer Vision Library. It is a collection of C functions and a few C++ classesuses to implement the Image Processing and Computer Vision algorithms. The Key features about it are Cross-Platform API of C functions FREE for commercial and non-commercial uses. This means the user can take advantage of high speed implementations of functions commonly used in Computer Vision/Image Processing. OpenCV was designed for computational efficiency and with a strong focus on real time applications. OpenCV can be written in optimized C and takes the advantage of multicore processors. OpenCV automatically uses the appropriate integrated Performance Primitives (IPP) library at runtime. One of OpenCV’s goals is to provide a simple infrastructure of computer vision to help people for build the fairly sophisticated vision applications quickly. The OpenCV library contains over 500 functions that span many areas in vision, including factory product inspection, medical imaging, security, user interface, camera calibration, stereo vision, and robotics. II. DOWNLOADING AND INSTALLING OPENCV The OpenCV site is on the Source Forge at http://SourceForge.net/projects/opencvlibrary and the OpenCV Wiki [OpenCV Wiki] page is at http://opencvlibrary.SourceForge.net. For Linux, the source distribution is the fi le opencv-1.0.0.tar.gz; for Windows, you want OpenCV 1.0.exe. However, the most up to date version is always on the CVS server at Source Forge. Once installed anyone can download the libraries and then install them. In the text file named INSTALL directly under the .../opencv/ directory, the installation instruction on Linux or Mac OS are availed and also describes how to build and run the OpenCV testing routines. INSTALL lists the additional programs you’ll need in order to become an OpenCV developer, such as automake, autoconf, libtool, and swig. Windows-Get the executable installation from Source Forge and run it. It will install OpenCV, register Direct Show filters, and perform various post-installation procedures. The system is ready to start OpenCV. You can always go to the .../opencv/_make directory and openopencv.sln with MSVC++ or MSVC.NET 2005, or open opencv.dsw with lower versions of MSVC++ and build debug versions or rebuild release versions of the library. To add the commercial IPP performance optimizations to Windows, obtain and install IPP from the Intel site (http://www.intel.com/soft ware/products/ipp/index.htm);use version 5.1 or later. Make sure the appropriate binary folder (e.g., c:/program fi les/intel/ipp/5.1/ia32/bin) is in the system path. III. OPENCV STRUCTURE AND CONTENT OpenCV is broadly structured into five main components, four of which are shown in Figure 1.0. The CV component contains the basic image processing and higher-level computer vision algorithms; ML is the machine learning library, which includes many statistical classifiers and clustering tools. For storing and loading video and images, the HighGUI contains I/O routines and functions and CXCore contains the basic data structures and content. RESEARCH ARTICLE OPEN ACCESS
  • 2. K. B. Neelima Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 9( Version 1), September 2014, pp.107-109 www.ijera.com 108 | P a g e Figure 1.0 Figure 1.0 does not include CvAux, which contains both defunct areas (embedded HMM face recognition) and experimental algorithms (background/foreground segmentation). CvAux is not well documented in the Wiki and is not documented at all in the .../opencv/docs subdirectory. IV. HIGH GUI The OpenCV function that allows the user to interact with the operating system, the file system, and hardware such as cameras are collected into a library called HighGUI (“high-level graphical user interface”). HighGUI allows the user to open windows, to display images, to read and write graphics-related files (both images and video), and to handle simple mouse, pointer, and keyboard events. The HighGUI library in OpenCV can be divided into three parts: the hardware part, the fi le system part, and the GUI part. The hardware part is primarily concerned with the operation of cameras. In most operating systems, interaction with a camera is a tedious and painful task. HighGUI allows an easy way to query a camera and retrieve the latest image from the camera. V. IMAGE PROCESSING “Image processing”, mean that just: using higher-level operators that are defined on image structures in order to accomplish tasks whose meaning is naturally defined in the context of graphical, visual images. A. SMOOTHING-Smoothing, also called blurring is a simple and frequently used image processing operation. There are many reasons for smoothing, but usually it is done to reducecamera artifacts and noise. Smoothing is also important when there is importance to reduce the resolution of an image in a principled way. OpenCV offers five different smoothing operations at this time. All of them are supported through one function, cvSmooth(),* which takes user’s desired form of smoothing as an argument. Figure 2.0 Image smoothing by block averaging: on the left are the input images; on the right, the output images. The simple blur operation, as exemplified by CV_BLUR in Figure 2-1, is the simplest case. Each output pixelis the simple mean of all the pixels in a window around the corresponding input pixel. Simple blur supports 1–4 image channels and works on 8-bit images or 32-bit floating-point images. B. IMAGE MORPHOLOGY--OpenCV provides a fast, convenient interface for doing morphological transformations on image. Dilation and erosion are the basic Morphological transformationsand they arise in a wide variety of contexts such as removing noise, isolating individual elements, and joining disparate elements in an image. C. RESIZE--The user may often encounter an image of some size that is to be converted to an image of someother size and may want to upsize (zoom in) or downsize (zoom out) the image; this can be accomplished by using the either task cvResize(). This function will fit the source image exactly to destination image size. VI. IMAGE TRANSFORMATION Image transforms, are methods for changing an image into an alternate representation of the data entirely. The original image is converted to an alternate representation of the data. The result of this operation is stored in an OpenCV “image” structure, but the individual “pixels” in this new image represents input spectral components. OpenCV provides complete implementations of some of the more common ones as well as building blocks to help the user implement own image transforms. VII. TRACKING AND MOTION Identification amounts to finding the object of interest from one frame in a subsequent frame of the video stream.Techniques for tracking unidentified objects typically involve tracking visually significant key points (more on what constitutes “significance”), rather than extended objects. OpenCV provides two methods for achieving this: the Lucas-Kanade* [Lucas81] and Horn-Schunck [Horn81] techniques, which represent what are oft en referred to as sparse or dense optical flow respectively.
  • 3. K. B. Neelima Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 9( Version 1), September 2014, pp.107-109 www.ijera.com 109 | P a g e VIII. CAMERA CALIBRATION The actual calibration is done via cvCalibrateCamera2(). In this routine, the method of calibration is to target the camera on a known structure that has many individual and identifiable points. By viewing this structure from different angles, it is possible to compute the (relative) location and orientation of the cameraas well as the intrinsic parameters of the camera. In order to provide multiple views, rotate and translate the object. IX. MACHINE LEARNING The goal of machine learning (ML) is to turn data into information. After learning from a collection of data, a machine to be able to answer questions about the data: What other data is most similar to this data? Is there a car in the image? What ad will the user respond to? Often there is cost component, so this question could become: “Of the products that the user makes the most money from, which one will the user most likely buy if we show them an ad for it?” Machine learning turns data into information by extracting rules or patterns from that data. X. CONCLUSIONS Figure 3.0. Face detection on a park scene: some tilted faces are not detected, for the image shown; more than a million sites and scales were searched to achieve this result in about 1.5 seconds on a 2 GHz machineThe Figure 3.0 shows the detected faces in the shown photo. This detection on a given photo takes place in nano seconds and the output is shown in just about 1.5 seconds on a machine having a speed of 2 GHz. OpenCV has long received support from Intel Corporation and Willow Garage (www.willowgarage.com).One of the key new development areas for OpenCV is robotic perception. Computer vision has a rich future ahead; OpenCV seems likely to be (at least in part) one of the key enabling technologies for computer vision. Endless opportunities for creativity and profound contribution lie ahead. REFERENCES [1] Intel corporation, “Open Source Computer Vision Library – [Reference Manual] Copyright © 1999-2001 Intel Corporation. [2] Gary Bradski and Adrian Kaehler, O’REILLY Learning OpenCV Copyright © 2008 Printed in the United States of America. [3] [OpenCV Wiki] Open Source Computer Vision Library Wiki, http://opencvlibrary.sourceforge.net/. [4] [OpenCV] Open Source Computer Vision Library (OpenCV), http://sourceforge.net/ projects/opencvlibrary/. [5] D. Chen and G. Zhang, “A new sub-pixel detector for x-corners in cameracalibration targets,” WSCG Short Papers (2005). [6] T. A. Clarke and J. G. Fryer, “The Development of Camera Calibration Methods and Models,” Photogrammetric Record 16 (1998). [7] A. Colombari, A. Fusiello, and V. Murino, “Video objects segmentation by robust background modeling,” International Conference on Image Analysis and Processing, September 2007. [8] H. Dahlkamp, A. Kaehler, D. Stavens, S. Thrun, and G. Bradski, “Selfsupervised monocular road detection in desert terrain,” Robotics: Science and Systems, Philadelphia, 2006.