MOTION_CONFIG_GET
Description
Read the Motion Configuration by motion region basis.
This URL will not take effect if the MOTION_ENABLED=0x00.The return message format is almost the same as the format of MOTION_CONFIG input argument without motion region index.
n,ex,ey,sx,sy,sen,time,obj
where
n is the motion region started from 1.
(ex,ey) is the coordinate in pixel of the left-top corner of the motion region.
(sx,sy) is the coordinate in pixel of the right-button corner of the motion region
sen is the sensitivity of the motion region and the range is 0~100.
time is the motion timer in unit of second and the range is 1~300. object is the percentage of the moving object size in the motion region.The motion timer means the time interval started from a motion trigger (in control session) does not have motion trigger again. In other words, the remote host will not receive two successive motion triggers in control session during the motion time interval. Note that the motion trigger in video B2 data will not be affected by this timer.
The motion region was divided into several microblocks (16x16 pixel in a motion block). Every microblock has it own calculation of motion detection. This object gives an threshold of the number of motion triggered microblocks in the motion region. For example, there are 200 microblocks in a motion region and the object is set to 10. The motion detection will be triggered when the number of motion triggered microblocks is higher than 20 in this region.
If the CHANNEL=n was not set with this URL to the Multi-Channel device, the CHANNEL 1 video server's MOTION_CONFIG_GET configuration will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.
Input Argument
n
where
n is the motion region started from 1.
Attribute
Return of Message
MOTION_CONFIG_GET='1,0,0,0,0,0,1,10'
Applicability
Status
Valid
See Also
MOTION_STATUS, MOTION_ENABLED, MOTION_SETTING, MOTION_SENSITIVITY
MOTION_ENABLED, MOTION_CONFIG, MOTION_SENSITIVITY, MOTION_TIMER, MOTION_OBJ
Example
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&MOTION_CONFIG_GET
or
http://ip:port/cgi-bin/cmd/encoder?MOTION_CONFIG_GET
Back to
¡@