Trigger Anomaly Detector
note
This resource allows user to trigger the anomaly data collector. Detailed behavior of each command is described below.
POST
/internal/commands/trigger-anomaly-detector
Trigger the anomaly data collector
Anomaly data collector should be enabled first (Settings - General Parameters - Common - Data Collection)
In case of distributed system, all the algo nodes are triggered simultaneously
Collected frames are saved in
/root/seoulrobotics/recordings/{subfolder}/
which is mounted to/opt/seoulrobotics/recordings/{subfolder}/
in the local machine.- Parameters
- (optional) folder_name : Name of the subfolder to save the collected data. If not specified, data will be saved in
/root/seoulrobotics/recordings/
.
- (optional) folder_name : Name of the subfolder to save the collected data. If not specified, data will be saved in
- Return code
- 200 OK
- 400 BAD REQ
Example
$ curl -X POST 'http://localhost:9080/internal/commands/trigger-anomaly-detector?folder_name=test'
** Respond **
Anomaly collector has been triggered.