![]() |
|
|||||||||||||
|
|
|||||||||||||
| t.vid |
Read values from
Teleo Video Device |
||
| Input | |||
| int | SamplePeriod: Update interval in milliseconds. Default 100ms. Sending 0 or a bang will trigger an update and suspend the automatic updates. Minimum value 1ms and the maximum 32000ms | ||
| int | Running: Toggles device on or off. Default = 0. | ||
| int | Background: Updates background image in static mode. Bang. | ||
| int | Tolerance: Adjusts the range of accepted image grayscale values that signal change. Higher values make device less sensitive to change. Default = 2. | ||
| int | Despeckle: Toggles noise filter on or off. Default = 0. | ||
| int | Dynamic: Changes object's mode from static to dynamic. Default = 0. | ||
|
All of the inputs above may be passed to the leftmost inlet as strings of the form
The attribute name is not case sensitive. |
|||
|
Arguments
|
|||
| int | Device: (optional) Specifies the Teleo Video In device number. Default is 0 if omitted. | ||
| int | Address: (optional) Specifies the Module Address the Max object is to bind to. Format @address=x where 2 < X < 64. | ||
|
All of the inputs above may be passed to the object at create time by using the following format:
The attribute name is not case sensitive. There must be no spaces between the attribute and the equals sign (=) or between the equals sign and the value. |
|||
|
Output
|
|||
| int | Value: current value of video pixel array states. 12 x 16 array. | ||
| int | Center of Mass: weighted average of center of changing pixel elements. | ||
|
Examples
|
|||
|
A t.vid object is being used in dynamic mode. It is sampling the video image every 100 milliseconds, at a tolerance of 2 and despeckle of 1. The array indicates that an object is moving in the leftmost portion of the image, and the bottom right message box indicates that the center of mass for the moving object is in the 6th row of the 3rd column. |
|||
|
See Also
|
Video Device section of the Teleo VIdeo Module User Guide | ||
![]() |
|||
|
copyright © 2002-2005 MakingThings LLC |