JVC VN-E4U API Guide - Page 38

Acquiring Motion Parameters of Motion Detect from VN-E4, Acquiring Motion Detect Mask from VN-E4

Page 38 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.6. Motion Detect Acquiring Motion Parameters of Motion Detect from VN-E4 Format /api/param?video.input(Number).detection.velocity Example When acquiring motion parameters of motion detect for video input channel 1 /api/param?video.input(1).detection.velocity Example of response video.input(1).detection.velocity=10&200 OK Interpretation Acquire the motion parameters of motion detect. VN-E4 enables motion detect to be adjusted for each of the 4 video inputs. Specify a value between 1 to 4 for the number. A value between 0 to 100 will be returned. The larger the value, the easier it will be to detect objects moving at high speed. The smaller the value, the easier it will be to detect slow-moving objects. Allowed users admin, operator, user Setting Motion Parameters of Motion Detect for VN-E4 Format /api/param?video.input(Number).detection.velocity=data Example When setting motion parameters of motion detect for video input channel 1 /api/param?video.input(1).detection.velocity=10 Example of response video.input(1).detection.velocity&200 OK Interpretation Change the motion parameters of motion detect. VN-E4 enables motion detect to be adjusted for each of the 4 video inputs. Specify a value between 1 to 4 for the number. Specify a value between 0 to 100. The larger the value, the easier it will be to detect objects moving at high speed. The smaller the value, the easier it will be to detect slow-moving objects. Allowed users admin, operator Acquiring Motion Detect Mask from VN-E4 Format /api/param?video.input(Number).detection.area Example When acquiring the motion detect mask of video input channel 1 /api/param?video.input(1).detection.area Example of response video.input(1).detection.area=000102030405060708091011121314151617&200 OK Interpretation Acquire the mask of motion detect. VN-E4 enables motion detect to be adjusted for each of the 4 video inputs. Specify a value between 1 to 4 for the number. 36 ASCII characters will be returned. The screen of VN-E4 is made up of 12 x 12 = 144 blocks, and mask can be set to on/off for each block. This information can be represented in 188 bits = 18-byte hexadecimal. (Response is returned in ASCII character strings.Therefore, 36 characters will be returned.) The bit string will appear as follows when mask is set to off for the top left block only. 10000000 00000000 00000000 ,,, Storage in bytes will begin from the LSB and represented in a hexadecimal value as shown below. 01 00 00 ,,, The hexadecimal value denotes the 18 ASCII characters acquired via this API that are expressed in ASCII codes. For example, the following character string will be returned when only the top left and bottom right blocks are masked. video.input(1).detection.area=010000000000000000000000000000000080 Allowed users admin, operator, user 38

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

38
5. API for Acquiring/Changing Parameters of VN-E4 _
5.6. Motion Detect
Acquiring Motion Parameters of Motion Detect from VN-E4
Format
/api/param?video.input(Number).detection.velocity
Example
When acquiring motion parameters of motion detect for video input channel 1
/api/param?video.input(1).detection.velocity
Example of response
video.input(1).detection.velocity=10&200 OK
Interpretation
Acquire the motion parameters of motion detect. VN-E4 enables motion detect to be adjusted for each of the 4
video inputs. Specify a value between 1 to 4 for the number. A value between 0 to 100 will be returned. The
larger the value, the easier it will be to detect objects moving at high speed. The smaller the value, the easier it
will be to detect slow-moving objects.
Allowed users
admin, operator, user
Setting Motion Parameters of Motion Detect for VN-E4
Format
/api/param?video.input(Number).detection.velocity=data
Example
When setting motion parameters of motion detect for video input channel 1
/api/param?video.input(1).detection.velocity=10
Example of response
video.input(1).detection.velocity&200 OK
Interpretation
Change the motion parameters of motion detect. VN-E4 enables motion detect to be adjusted for each of the 4
video inputs. Specify a value between 1 to 4 for the number. Specify a value between 0 to 100. The larger the
value, the easier it will be to detect objects moving at high speed. The smaller the value, the easier it will be to
detect slow-moving objects.
Allowed users
admin, operator
Acquiring Motion Detect Mask from VN-E4
Format
/api/param?video.input(Number).detection.area
Example
When acquiring the motion detect mask of video input channel 1
/api/param?video.input(1).detection.area
Example of response
video.input(1).detection.area=000102030405060708091011121314151617&200 OK
Interpretation
Acquire the mask of motion detect. VN-E4 enables motion detect to be adjusted for each of the 4 video inputs.
Specify a value between 1 to 4 for the number. 36 ASCII characters will be returned.
The screen of VN-E4 is made up of 12 x 12 = 144 blocks, and mask can be set to on/off for each block. This
information can be represented in 188 bits = 18-byte hexadecimal. (Response is returned in ASCII character
strings.Therefore, 36 characters will be returned.) The bit string will appear as follows when mask is set to off
for the top left block only.
10000000 00000000 00000000 ,,,
Storage in bytes will begin from the LSB and represented in a hexadecimal value as shown below.
01 00 00 ,,,
The hexadecimal value denotes the 18 ASCII characters acquired via this API that are expressed in ASCII
codes. For example, the following character string will be returned when only the top left and bottom right
blocks are masked.
video.input(1).detection.area=010000000000000000000000000000000080
Allowed users
admin, operator, user