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:28] joaomatosopencv_tutorials_t3 [2017/05/13 17:20] (current) – [Detecting Circles on Webcam] acater
Line 413: 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.1465255702.txt.gz · Last modified: 2016/06/06 16:28 by joaomatos