Motion detection
Detailed Description
Functions for motion detection.
Function Documentation
static int gx_motdetiteration |
( |
gxHANDLE |
handle, |
|
|
struct GX_PARM_MOTDETITERATION * |
parm | |
|
) |
| | [static] |
Adding a new image to the stream.
- Warning:
- The size of the image must be the same as given by the properties. GX_GRAY (8 bit grayscale), GX_RGB (24 bit RGB) and GX_BGR (24 bit BGR) pixel formats are allowed! In case of half frames use only the same field in one stream. For detecting motion on both odd and even fields, the using of two separated streams (opening twice the module) is recomended.
- Parameters:
-
| handle | Handle of the module. |
| parm | Pointer to a data exchange structure. |
- Returns:
- On error false is returned and the error code/string in the GX system is set appropriately ( see gx_geterror() ).
References gx_call().