Change the Input Video Source#
You start a pallet defect detection pipeline with the following Client URL (cURL) command. The following example is the command to start an AI pipeline.
curl localhost:8080/pipelines/user_defined_pipelines/pallet_defect_detection_mlops -X POST -H 'Content-Type: application/json' -d '{
"source": {
"uri": "file:///home/pipeline-server/resources/videos/warehouse.avi",
"type": "uri"
},
"parameters": {
"detection-properties": {
"model": "/home/pipeline-server/resources/models/geti/pallet_defect_detection/deployment/Detection/model/model.xml",
"device": "CPU"
}
}
}'
To change the input video source for the pipeline, refer to the following table:
Video Source |
Source Section of the cURL Request |
Remark |
---|---|---|
File |
|
|
RTSP |
|
In the values.yaml file in the helm chart, update RTSP_CAMERA_IP to the IP of the machine where the RTSP stream is coming from: |
Web Camera |
|
The pipeline in evam_config.json in the helm chart needs to be changed as follows: ` |