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 revisionBoth sides next revision
opencv_tutorials_t3 [2016/06/06 16:28] joaomatosopencv_tutorials_t3 [2017/05/13 17:11] – [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 program in real time.
 +{{youtube>doq8hqEDhY0?medium}}
opencv_tutorials_t3.txt · Last modified: 2017/05/13 17:20 by acater