Video Analytics Serving (VA Serving) is a python package and microservice for deploying hardware optimized media analytics pipelines. It supports pipelines defined in GStreamer* or FFmpeg* media frameworks and provides APIs to discover, start, stop, customize and monitor pipeline execution. Video Analytics Serving is based on https://github.com/openvinotoolkit/dlstreamer_gst and https://github.com/VCDP/FFmpeg-patch.
This container provides a standalone microservice based on DL Streamer with the following pipelines:
| Pipeline Name | Description |
|---|---|
| https://github.com/intel/video-analytics-serving/tree/master/pipelines/gstreamer/object_detection | Detect and label objects |
| https://github.com/intel/video-analytics-serving/tree/master/pipelines/gstreamer/object_classification | As object_detection adding metadata such as object subtype and color |
| https://github.com/intel/video-analytics-serving/tree/master/pipelines/gstreamer/object_tracking | As object_classification adding tracking identifier to metadata |
| https://github.com/intel/video-analytics-serving/tree/master/pipelines/gstreamer/audio_detection | Analyze audio streams for events such as breaking glass or barking dogs. |
| https://github.com/intel/video-analytics-serving/tree/master/pipelines/gstreamer/action_recognition/general/README.md | Classifies general purpose actions in input video such as tying a bow tie or shaking hands. |
IMPORTANT: Video Analytics Serving is provided as a pre-production preview. Developers deploying Video Analytics Serving based microservices should review them against their production requirements.
IMPORTANT: DL Streamer Edge AI Extension images can now be found at https://hub.docker.com/r/intel/dlstreamer-edge-ai-extension.
Docker must be given access to the HTTP port, which is 8080 by default. This example also gives access to the /tmp folder for writing metadata results.
docker run -p 8080:8080 -v /tmp:/tmp intel/video-analytics-serving
Enable GPU inference by giving docker access to device /dev/dri.
NOTE: Ubuntu20 hosts need https://github.com/openvinotoolkit/docker_ci/blob/master/configure_gpu_ubuntu20.md to access GPU
docker run -p 8080:8080 -v /tmp:/tmp --device /dev/dri intel/video-analytics-serving
This shows how to make a request via curl that does the following
curl localhost:8080/pipelines/object_detection/person_vehicle_bike -X POST -H \ 'Content-Type: application/json' -d \ '{ "source": { "uri": "https://github.com/intel-iot-devkit/sample-videos/blob/master/person-bicycle-car-detection.mp4?raw=true", "type": "uri" }, "parameters" : { "threshold" : 0.75 }, "destination": { "metadata": { "type": "file", "path": "/tmp/detection_results.json", "format": "json-lines" } } }'
Output can be viewed as follows
tail -f /tmp/detection_results.json
{"objects":[{"detection":{"bounding_box":{"x_max":0.7481285929679871,"x_min":0.6836653351783752,"y_max":0.9999656677246094,"y_min":0.7867168188095093},"confidence ":0.8825281858444214,"label":"person","label_id":1},"h":92,"roi_type":"person","w":50,"x":525,"y":340}],"resolution":{"height":432,"width":768},"source":"https:// github.com/intel-iot-devkit/sample-videos/blob/master/person-bicycle-car-detection.mp4?raw=true","timestamp":1833333333} {"objects":[{"detection":{"bounding_box":{"x_max":0.7502986788749695,"x_min":0.6836960911750793,"y_max":0.9965760111808777,"y_min":0.7709739804267883},"confidence ":0.9252141118049622,"label":"person","label_id":1},"h":97,"roi_type":"person","w":51,"x":525,"y":333}],"resolution":{"height":432,"width":768},"source":"https:// github.com/intel-iot-devkit/sample-videos/blob/master/person-bicycle-car-detection.mp4?raw=true","timestamp":1916666666} {"objects":[{"detection":{"bounding_box":{"x_max":0.7533045411109924,"x_min":0.6833932995796204,"y_max":0.9992516040802002,"y_min":0.7517305612564087},"confidence ":0.9160457849502563,"label":"person","label_id":1},"h":107,"roi_type":"person","w":54,"x":525,"y":325}],"resolution":{"height":432,"width":768},"source":"https:/ /github.com/intel-iot-devkit/sample-videos/blob/master/person-bicycle-car-detection.mp4?raw=true","timestamp":2000000000} {"objects":[{"detection":{"bounding_box":{"x_max":0.7569090723991394,"x_min":0.6831721663475037,"y_max":0.9893120527267456,"y_min":0.745476245880127},"confidence" :0.9452301859855652,"label":"person","label_id":1},"h":105,"roi_type":"person","w":57,"x":525,"y":322}],"resolution":{"height":432,"width":768},"source":"https:// github.com/intel-iot-devkit/sample-videos/blob/master/person-bicycle-car-detection.mp4?raw=true","timestamp":2083333333}
For more details on making custom requests or building from source see https://github.com/intel/video-analytics-serving/tree/v0.7.0-beta
LEGAL NOTICE: By accessing, downloading or using this software and any required dependent software (the "Software Package"), you agree to the terms and conditions of the software license agreements for the Software Package, which may also include notices, disclaimers, or license terms for third party software included with the Software Package. Please refer to the "third-party-programs.txt" or other similarly-named text file for additional details.
| Components | License |
|---|---|
| https://github.com/intel/video-analytics-serving/blob/v0.7.0-beta/docker/Dockerfile | https://github.com/intel/video-analytics-serving/blob/v0.7.0-beta/LICENSE Docker image with 0.7.0 tag uses https://hub.docker.com/r/openvino/ubuntu20_data-runtime as a base, and several community modules and scripts. Copyright (c) 2019-2021 Intel Corporation All rights reserved. |
| https://hub.docker.com/r/openvino/ubuntu20_data_runtime | Dockerfile: https://github.com/openvinotoolkit/docker_ci/blob/master/LICENSE, Image: 2021.4.2 (https://hub.docker.com/r/openvino/ubuntu18_runtime) |
| python-dateutil | https://github.com/dateutil/dateutil/blob/master/LICENSECopyright (c) 2018-2021 Intel Corporation All rights reserved. |
| numpy | https://github.com/numpy/numpy/blob/master/LICENSE.txtCopyright (c) 2005-2021, NumPy Developers. All rights reserved. |
| Python3 | PSFCopyright © 2001-2021 Python Software Foundation; All Rights Reserved |
| Python-Pip | https://github.com/pypa/pip/blob/master/LICENSE.txtCopyright (c) 2008-2021 The pip developers (see AUTHORS.txt file) |
| setuptools | https://github.com/pypa/setuptools/blob/master/LICENSECopyright (C) 2016 Jason R Coombs [object Object] |
| https://github.com/Julian/jsonschema/ | https://github.com/Julian/jsonschema/blob/main/COPYINGCopyright (c) 2013 Julian Berman |
| pyyaml | https://github.com/yaml/pyyaml/blob/master/LICENSECopyright (c) 2017-2021 Ingy döt Net[object Object]Copyright (c) 2006-2016 Kirill Simonov |
| swagger-ui-bundle | https://github.com/swagger-api/swagger-ui/blob/master/LICENSECopyright 2020-2021 SmartBear Software Inc. |
| Tornado Web Server | https://github.com/tornadoweb/tornado/blob/master/LICENSECopyright: 2009-2011 Facebook |
| Requests | https://github.com/kennethreitz/requests/blob/master/LICENSECopyright 2019 Kenneth Reitz |
| Zalando Connexion | https://github.com/zalando/connexion/blob/master/LICENSE.txtCopyright 2015 Zalando SE |
| Intel® Distribution of OpenVINO™ Toolkit - OpenModelZoo | https://github.com/opencv/open_model_zoo/blob/master/LICENSECopyright (c) 2020-2021 Intel Corporation |
| https://github.com/openvinotoolkit/openvino | https://github.com/openvinotoolkit/openvino/blob/2020/LICENSECopyright (c) 2020-2021 Intel Corporation |
As with any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses and potential fees for all software contained within. We will have no indemnity or warranty coverage from suppliers.
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务