User Tools

Site Tools


opencv_tutorials_t3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
opencv_tutorials_t3 [2016/06/06 16:25] joaomatosopencv_tutorials_t3 [2017/05/13 17:20] (current) – [Detecting Circles on Webcam] acater
Line 6: Line 6:
  
 {{::detecting_circle_image.rar|Detecting Circles on Image}} {{::detecting_circle_image.rar|Detecting Circles on Image}}
 +
 +{{::detecting_circles_on_webcam.rar|Detecting Circles on Webcam}}
 +
  
  
-{{ ::circledetec.jpg?direct |}} 
  
 ---- ----
  
 ===== Detecting Circles in Image ===== ===== Detecting Circles in Image =====
 +
 +{{ ::circledetec.jpg?direct |}}
  
 <Code:c++ linenums:1> <Code:c++ linenums:1>
Line 272: Line 276:
  
 ===== Detecting Circles on Webcam ===== ===== Detecting Circles on Webcam =====
 +
 +{{ ::circle_webcam.jpg?direct |}}
 +
  
 <Code:c++ linenums:1> <Code:c++ linenums:1>
Line 406: Line 413:
  
 The idea to change from an image to the webcam video is the same used on the Tutorial 1. We change the **"imread"** for the **"VideoCapture**" and change the **"resize"** for the **"capture.set"**.  We use a loop until the q key is pressed to display the frames on the window.Our colored image is set using **"capture >> coloredimage;"** and all the following procedure to detect the circle is the same from the image code ( because we will analyze frame by frame ). The idea to change from an image to the webcam video is the same used on the Tutorial 1. We change the **"imread"** for the **"VideoCapture**" and change the **"resize"** for the **"capture.set"**.  We use a loop until the q key is pressed to display the frames on the window.Our colored image is set using **"capture >> coloredimage;"** and all the following procedure to detect the circle is the same from the image code ( because we will analyze frame by frame ).
 +\\
 +\\
 +Below is a video demonstrating the first program in real time. 
 +{{youtube>doq8hqEDhY0?medium}}
 +\\
 +\\Below is a video demonstrating the second program in real time.
 +{{youtube>htymt5vIA3M?medium}}
opencv_tutorials_t3.1465255541.txt.gz · Last modified: 2016/06/06 16:25 by joaomatos