- 0 Login
- 1 System Settings
- 1.1 System Infomation
- 1.2 System Time
- 1.3 System Maintenance
- 1.4 Universal Asynchronous Receiver/Transmitter(UART)
- 1.5 General-purpose input/output(GPIO)
- 1.6 System Reboot
- 1.7 System Reset
- 1.8 System Memory
- 1.9 System Update
- 1.10 RS485
- 2 Network Settings
- 2.1 TCP/IP
- 2.2 4G Network
- 2.3 Wi-Fi Network
- 3 Platform Settings
- 3.1 GB-T28181
- 3.2 Customised platform
- 3.3 File Transfer Protocol (FTP)
- 3.4 Open Network Video Interface Forum(ONVIF)
- 3.5 Real Time Streaming Protocol (RTSP)
- 4 Video Settings
- 5 Audio Settings
- 6 Intelligent Settings
- 6.1 Detection Model
- 6.2 Detection Parameters
- 6.3 Detection Result
- 6.4 Model Tags
- 7 Alarm Settings
- 8 Record Settings
- 9 Pan/Tilt/Zoom(PTZ) Settings
- Appendix
6.3.1 Getting Detection Result
POST
/api/intelligent/user/result
Request
Cookie Params
access_token
string
required
Default:
{{access_token}}
Body Params application/json
id
string
required
op
string
required
Example
{
"id": "GSF_ID_SVP_RESULT",
"op": "G0C0S0"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.0.168/api/intelligent/user/result' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_SVP_RESULT",
"op": "G0C0S0"
}'
Responses
🟢200获取检测结果0
application/json
Body
code
integer
required
data
object
required
pts
integer
required
width
integer
required
height
integer
required
user_data
array[integer]
required
user_data2
array[integer]
required
count
integer
required
vec
array [object {7}]
required
Example
{
"code": 0,
"data": {
"pts": 1728446130,
"width": 2560,
"height": 1440,
"user_data": [
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"user_data2": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"count": 1,
"vec": [
{
"color": 33488896,
"score": 0.907470703125,
"track_id": 72,
"class_id": 1,
"rect": [
0.3497995138168335,
0.1603974997997284,
0.2389894723892212,
0.566967487335205
],
"direction": [
0.0007399062160402536,
0.0015348100569099188
],
"label": "火焰",
"polygon_id": [
1,
0,
0
],
"info": {
"match_id": 0,
"match_score": 0,
"row_id": 0,
"flags": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"image_name": ""
}
}
]
}
}
🟢200获取检测结果1
🟢200获取检测结果2
Modified at 2024-12-25 08:52:15