User Tools

Site Tools


opencv_tutorials_t1

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
opencv_tutorials_t1 [2016/06/06 16:29] joaomatosopencv_tutorials_t1 [2017/05/13 16:55] (current) – [Using your Webcam Image] acater
Line 287: Line 287:
 </Code> </Code>
 The loop will run until the "q" key on the keyboard is pressed (we need to declare the key variable first ). The video shown on the images will be a collection of frames took from your webcam ( using the assign **capture >> colorimage**) the color image will store the webcam frame . The rest of the code is the same thing as the last code , converting to gray scale and HSV.  At the end we just need to assign the **"waitKey"** command to the key variable and close the loop. The loop will run until the "q" key on the keyboard is pressed (we need to declare the key variable first ). The video shown on the images will be a collection of frames took from your webcam ( using the assign **capture >> colorimage**) the color image will store the webcam frame . The rest of the code is the same thing as the last code , converting to gray scale and HSV.  At the end we just need to assign the **"waitKey"** command to the key variable and close the loop.
 +
 +\\
 +The video below demonstrates the program as it is run in real time.
 +\\
 +{{youtube>PqW0GsMVRd0?medium}}
opencv_tutorials_t1.txt · Last modified: 2017/05/13 16:55 by acater