SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
Simulation with Computer Vision
Andres Fernandez
Outline
● Computer Vision
– Algorithms
– Object Tracking Technique
● Robot Simulation
Computer Vision
● Hough Transform Circle
● Smallest-circle
Hough Transform Circle
● Detects circles
● Outputs the X and Y coordinates
● Outputs the radius
Smallest-circle
● Finds circles
● Outputs the X and Y coordinates
● Outputs the radius
● Finds the smallest circle out of all circles
Computer Vision Object Tracking
● Changing the environment to make calculations
easier
● Detecting circles using Hough Transform Circle
● Using the output to feed into simulation
Changing the environment
● Environment color change from RGB to HSV
● HSV stands for Hue Saturation Value
● Hue – Color shown
● Saturation – Color intensity
● Value – Color brightness
Changing the environment
Source: http://en.wikipedia.org/wiki/File:Hsl-hsv_models.svg
RGB vs. HSV
Hough Transformer Circle
● Needs three parameters (x, y, r)
●
● Changed the equation to find x and y as the
center
(x−a)
2
+( y−b)
2
=r
2
x=a+R cos(θ) y=b+R sin(θ)
Hough Transformer Circle
● An 2-dim accumulation array keeps track of the
number of intersections
● The pixel with highest count is considered to be
center of the circle
● w = width, h = height
O(wh(δ R))
δ R=(MaximumRadius−MinimumRadius)
Hough Transformer Circle
Simulation
● A simple 2D animation of a box
● The box represents a robot which follows an object
of interest
● The velocity is fixed
● The turning velocity can be changed in the GUI
Simulation
Threading
● Three threads total
● GUI – Main thread
● Image Processing – Child Thread
● Robot Simulation – Child Thread
Scheduling
● Image thread
Scheduling
● Simulation thread
Improvements
● Background Subtraction
● OpenCL (Multicore)
● More Benchmarking Analysis
● Extending Simulation (more variables)
● Real Time Operating System (RTOS)
Questions
References
● Alper Yilmaz, Omar Javed, and Mubarak Shah. 2006. Object
tracking: A survey. ACM Comput. Surv. 38, 4, Article 13
(December 2006)
● Canny, John, "A Computational Approach to Edge Detection,"
Pattern Analysis and Machine Intelligence, IEEE Transactions
on , vol.PAMI-8, no.6, pp.679,698, Nov. 1986
● H. K. Yuen, J. Princen, J. Illingworth, and J. Kittler. 1990.
Comparative study of Hough transform methods for circle finding.
Image Vision Comput. 8, 1 (February 1990), 71-77
● Jasmin Blanchette and Mark Summerfield , “C++ GUI
Programming with Qt 4”, 2nd ed., Prentice Hall, 2008
Extra - Reasons
● Why use actual sensors to connect to the
simulation?
● What framework to use to display the video and
animation?
Extra - Technical Specifications
● Intel Core i7
● 6 Gigabytes of Memory
● OpenCV 2.4.8
● Webcam: 15 MP
● Webcam: 30 FPS
Extra – Edge Detection
● Edge Detection is used to simplify the image
● The Hough Transform Circle function uses Canny
and Sobel to detect edges
● Sobel is a predecessor of Canny
● Canny and Sobel is a multi step process
Extra – Canny Edge Detection
● Color to Gray scale
● Gaussian filter
● Gradient Processing
● Non-maximum suppression
● Tracing edges
● Hysteresis Thresholding

Weitere ähnliche Inhalte

Was ist angesagt?

Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
Mumbai B.Sc.IT Study
 

Was ist angesagt? (8)

Mahaviracharya (hindi)
Mahaviracharya (hindi)Mahaviracharya (hindi)
Mahaviracharya (hindi)
 
A169571 tugasan pisah ragaman
A169571 tugasan pisah ragamanA169571 tugasan pisah ragaman
A169571 tugasan pisah ragaman
 
[Question Paper] Geographic Information System (Old Syllabus) [April / 2014]
[Question Paper] Geographic Information System (Old Syllabus) [April / 2014][Question Paper] Geographic Information System (Old Syllabus) [April / 2014]
[Question Paper] Geographic Information System (Old Syllabus) [April / 2014]
 
[DL Hacks]Smart, Sparse Contours to Represent and Edit Images
[DL Hacks]Smart, Sparse Contours to Represent and Edit Images[DL Hacks]Smart, Sparse Contours to Represent and Edit Images
[DL Hacks]Smart, Sparse Contours to Represent and Edit Images
 
Tugasan pisah ragaman (a168892)
Tugasan pisah ragaman (a168892)Tugasan pisah ragaman (a168892)
Tugasan pisah ragaman (a168892)
 
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
 
Tugasan 9 Pisah Ragaman (A168202)
Tugasan 9 Pisah Ragaman (A168202)Tugasan 9 Pisah Ragaman (A168202)
Tugasan 9 Pisah Ragaman (A168202)
 
Image processing fundamentals
Image processing fundamentalsImage processing fundamentals
Image processing fundamentals
 

Andere mochten auch

Intrusion detection using data mining
Intrusion detection using data miningIntrusion detection using data mining
Intrusion detection using data mining
balbeerrawat
 
Intrusion detection
Intrusion detectionIntrusion detection
Intrusion detection
Umesh Dhital
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
 
Intrusion detection system ppt
Intrusion detection system pptIntrusion detection system ppt
Intrusion detection system ppt
Sheetal Verma
 

Andere mochten auch (20)

Open cv tutorial
Open cv tutorialOpen cv tutorial
Open cv tutorial
 
Hough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul IslamHough Transform By Md.Nazmul Islam
Hough Transform By Md.Nazmul Islam
 
Databse Intrusion Detection Using Data Mining Approach
Databse Intrusion Detection Using Data Mining ApproachDatabse Intrusion Detection Using Data Mining Approach
Databse Intrusion Detection Using Data Mining Approach
 
Linear Hough TRansform
Linear Hough TRansformLinear Hough TRansform
Linear Hough TRansform
 
Drawing Ellipses
Drawing EllipsesDrawing Ellipses
Drawing Ellipses
 
Intrusion detection using data mining
Intrusion detection using data miningIntrusion detection using data mining
Intrusion detection using data mining
 
Data Mining and Intrusion Detection
Data Mining and Intrusion Detection Data Mining and Intrusion Detection
Data Mining and Intrusion Detection
 
Digital Image Processing - MATLAB Notes - Akshansh
Digital Image Processing - MATLAB Notes - AkshanshDigital Image Processing - MATLAB Notes - Akshansh
Digital Image Processing - MATLAB Notes - Akshansh
 
Dip Image Segmentation
Dip Image SegmentationDip Image Segmentation
Dip Image Segmentation
 
Introduction To Intrusion Detection Systems
Introduction To Intrusion Detection SystemsIntroduction To Intrusion Detection Systems
Introduction To Intrusion Detection Systems
 
Segmentation
SegmentationSegmentation
Segmentation
 
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
Conic Sections- Circle, Parabola, Ellipse, HyperbolaConic Sections- Circle, Parabola, Ellipse, Hyperbola
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Intrusion detection
Intrusion detectionIntrusion detection
Intrusion detection
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Intrusion Detection System(IDS)
Intrusion Detection System(IDS)Intrusion Detection System(IDS)
Intrusion Detection System(IDS)
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Image Processing Basics
Image Processing BasicsImage Processing Basics
Image Processing Basics
 
Intrusion detection system ppt
Intrusion detection system pptIntrusion detection system ppt
Intrusion detection system ppt
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 

Ähnlich wie Presentation sim opencv

Presentation - Bi-directional A-star search
Presentation - Bi-directional A-star searchPresentation - Bi-directional A-star search
Presentation - Bi-directional A-star search
Mohammad Saiful Islam
 
BallCatchingRobot
BallCatchingRobotBallCatchingRobot
BallCatchingRobot
gauravbrd
 
Miniproject final group 14
Miniproject final group 14Miniproject final group 14
Miniproject final group 14
Ashish Mundhra
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
Sean Moran
 
Invariant Generalised Hough Transform
Invariant Generalised Hough TransformInvariant Generalised Hough Transform
Invariant Generalised Hough Transform
Shashank Dhariwal
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
Naughty Dog
 

Ähnlich wie Presentation sim opencv (20)

A Case Study : Circle Detection Using Circular Hough Transform
A Case Study : Circle Detection Using Circular Hough TransformA Case Study : Circle Detection Using Circular Hough Transform
A Case Study : Circle Detection Using Circular Hough Transform
 
One-Pass Clustering Superpixels
One-Pass Clustering SuperpixelsOne-Pass Clustering Superpixels
One-Pass Clustering Superpixels
 
E0442328
E0442328E0442328
E0442328
 
Hough Transform: Serial and Parallel Implementations
Hough Transform: Serial and Parallel ImplementationsHough Transform: Serial and Parallel Implementations
Hough Transform: Serial and Parallel Implementations
 
06 image features
06 image features06 image features
06 image features
 
Practical Digital Image Processing 3
 Practical Digital Image Processing 3 Practical Digital Image Processing 3
Practical Digital Image Processing 3
 
Orb feature by nitin
Orb feature by nitinOrb feature by nitin
Orb feature by nitin
 
Presentation - Bi-directional A-star search
Presentation - Bi-directional A-star searchPresentation - Bi-directional A-star search
Presentation - Bi-directional A-star search
 
Algorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model RecoveryAlgorithmic Techniques for Parametric Model Recovery
Algorithmic Techniques for Parametric Model Recovery
 
04 image transformations_ii
04 image transformations_ii04 image transformations_ii
04 image transformations_ii
 
Reverse Engineering for additive manufacturing
Reverse Engineering for additive manufacturingReverse Engineering for additive manufacturing
Reverse Engineering for additive manufacturing
 
BallCatchingRobot
BallCatchingRobotBallCatchingRobot
BallCatchingRobot
 
Miniproject final group 14
Miniproject final group 14Miniproject final group 14
Miniproject final group 14
 
Deep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image EnhancementDeep Local Parametric Filters for Image Enhancement
Deep Local Parametric Filters for Image Enhancement
 
Mvs adas
Mvs adasMvs adas
Mvs adas
 
Invariant Generalised Hough Transform
Invariant Generalised Hough TransformInvariant Generalised Hough Transform
Invariant Generalised Hough Transform
 
Practical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT MethodsPractical Spherical Harmonics Based PRT Methods
Practical Spherical Harmonics Based PRT Methods
 
Human action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptorHuman action recognition with kinect using a joint motion descriptor
Human action recognition with kinect using a joint motion descriptor
 
Lec09 hough
Lec09 houghLec09 hough
Lec09 hough
 
Ala Stolpnik's Standard Model talk
Ala Stolpnik's Standard Model talkAla Stolpnik's Standard Model talk
Ala Stolpnik's Standard Model talk
 

Kürzlich hochgeladen

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Kürzlich hochgeladen (20)

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 

Presentation sim opencv

  • 1. Simulation with Computer Vision Andres Fernandez
  • 2. Outline ● Computer Vision – Algorithms – Object Tracking Technique ● Robot Simulation
  • 3. Computer Vision ● Hough Transform Circle ● Smallest-circle
  • 4. Hough Transform Circle ● Detects circles ● Outputs the X and Y coordinates ● Outputs the radius
  • 5. Smallest-circle ● Finds circles ● Outputs the X and Y coordinates ● Outputs the radius ● Finds the smallest circle out of all circles
  • 6. Computer Vision Object Tracking ● Changing the environment to make calculations easier ● Detecting circles using Hough Transform Circle ● Using the output to feed into simulation
  • 7. Changing the environment ● Environment color change from RGB to HSV ● HSV stands for Hue Saturation Value ● Hue – Color shown ● Saturation – Color intensity ● Value – Color brightness
  • 8. Changing the environment Source: http://en.wikipedia.org/wiki/File:Hsl-hsv_models.svg
  • 10. Hough Transformer Circle ● Needs three parameters (x, y, r) ● ● Changed the equation to find x and y as the center (x−a) 2 +( y−b) 2 =r 2 x=a+R cos(θ) y=b+R sin(θ)
  • 11. Hough Transformer Circle ● An 2-dim accumulation array keeps track of the number of intersections ● The pixel with highest count is considered to be center of the circle ● w = width, h = height O(wh(δ R)) δ R=(MaximumRadius−MinimumRadius)
  • 13. Simulation ● A simple 2D animation of a box ● The box represents a robot which follows an object of interest ● The velocity is fixed ● The turning velocity can be changed in the GUI
  • 15. Threading ● Three threads total ● GUI – Main thread ● Image Processing – Child Thread ● Robot Simulation – Child Thread
  • 18. Improvements ● Background Subtraction ● OpenCL (Multicore) ● More Benchmarking Analysis ● Extending Simulation (more variables) ● Real Time Operating System (RTOS)
  • 20. References ● Alper Yilmaz, Omar Javed, and Mubarak Shah. 2006. Object tracking: A survey. ACM Comput. Surv. 38, 4, Article 13 (December 2006) ● Canny, John, "A Computational Approach to Edge Detection," Pattern Analysis and Machine Intelligence, IEEE Transactions on , vol.PAMI-8, no.6, pp.679,698, Nov. 1986 ● H. K. Yuen, J. Princen, J. Illingworth, and J. Kittler. 1990. Comparative study of Hough transform methods for circle finding. Image Vision Comput. 8, 1 (February 1990), 71-77 ● Jasmin Blanchette and Mark Summerfield , “C++ GUI Programming with Qt 4”, 2nd ed., Prentice Hall, 2008
  • 21. Extra - Reasons ● Why use actual sensors to connect to the simulation? ● What framework to use to display the video and animation?
  • 22. Extra - Technical Specifications ● Intel Core i7 ● 6 Gigabytes of Memory ● OpenCV 2.4.8 ● Webcam: 15 MP ● Webcam: 30 FPS
  • 23. Extra – Edge Detection ● Edge Detection is used to simplify the image ● The Hough Transform Circle function uses Canny and Sobel to detect edges ● Sobel is a predecessor of Canny ● Canny and Sobel is a multi step process
  • 24. Extra – Canny Edge Detection ● Color to Gray scale ● Gaussian filter ● Gradient Processing ● Non-maximum suppression ● Tracing edges ● Hysteresis Thresholding