{ "@apiVersion": "1.1", "name": "InferencingWithOpenVINO", "properties": { "description": "Analyzing live video using HTTP Extension to send images to the OpenVINO Model Server – AI Extension module, from Intel", "parameters": [ { "name": "rtspUserName", "type": "String", "description": "rtsp source user name.", "default": "dummyUserName" }, { "name": "rtspPassword", "type": "String", "description": "rtsp source password.", "default": "dummyPassword" }, { "name": "rtspUrl", "type": "String", "description": "rtsp Url" }, { "name": "inferencingUrl", "type": "String", "description": "inferencing Url", "default": "http://openvino:4000/vehicleDetection" }, { "name": "inferencingUserName", "type": "String", "description": "inferencing endpoint user name.", "default": "dummyUserName" }, { "name": "inferencingPassword", "type": "String", "description": "inferencing endpoint password.", "default": "dummyPassword" } ], "sources": [ { "@type": "#Microsoft.VideoAnalyzer.RtspSource", "name": "rtspSource", "transport": "tcp", "endpoint": { "@type": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint", "url": "${rtspUrl}", "credentials": { "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", "username": "${rtspUserName}", "password": "${rtspPassword}" } } } ], "processors": [ { "@type": "#Microsoft.VideoAnalyzer.HttpExtension", "name": "httpExtension", "endpoint": { "@type": "#Microsoft.VideoAnalyzer.UnsecuredEndpoint", "url": "${inferencingUrl}", "credentials": { "@type": "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials", "username": "${inferencingUserName}", "password": "${inferencingPassword}" } }, "image": { "format": { "@type": "#Microsoft.VideoAnalyzer.ImageFormatBmp" } }, "samplingOptions": { "skipSamplesWithoutAnnotation": "false", "maximumSamplesPerSecond": "5" }, "inputs": [ { "nodeName": "rtspSource" } ] } ], "sinks": [ { "@type": "#Microsoft.VideoAnalyzer.IotHubMessageSink", "name": "hubSink", "hubOutputName": "inferenceOutput", "inputs": [ { "nodeName": "httpExtension" } ] } ] } }