processing:video_capture
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
processing:video_capture [2013/08/15 22:29] – [Reduce resolution] mithat | processing:video_capture [2013/08/23 04:10] (current) – [Video capture examples] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Video capture examples ====== | ====== Video capture examples ====== | ||
- | The examples below are based on documentation and code from the [[http:// | + | The examples below lean heavily |
===== List available capture devices ===== | ===== List available capture devices ===== | ||
Line 269: | Line 269: | ||
===== Brightest pixel ===== | ===== Brightest pixel ===== | ||
+ | The following example takes the reduced resolution camera feed above and draws a colored circle inside the brightest pixel found. If there is more than one pixel with the same brightness, then it shows the first one (scanning from top-left to bottom-right). It also adds some code to indicate frame timing. | ||
+ | |||
<file java capture_brightest_pixel.pde> | <file java capture_brightest_pixel.pde> | ||
/** Reduce resolution of captured image and indicate brightest pixel. | /** Reduce resolution of captured image and indicate brightest pixel. |
processing/video_capture.1376605743.txt.gz · Last modified: 2013/08/15 22:29 by mithat