VisionSDK is an SDK oriented to image and video visual analysis, providing basic intelligent analysis capabilities for videos and images as well as a programming framework.
Tags follow this pattern:
<VisionSDK_version>-<chip_series>-<os>-<python_version>
| Field | Example Values | Description |
|---|---|---|
VisionSDK_version | 26.1.0 | VisionSDK version |
chip_series | 910 | Target Atlas chip family |
os | ubuntu22.04, openeuler24.03 | Base operating system |
python_version | py3.11 | Python version |
| Tag | Dockerfile |
|---|---|
26.1.0-310p-openeuler24.03-py3.11 | Dockerfile |
26.1.0-310p-ubuntu22.04-py3.11 | Dockerfile |
26.1.0-910b-openeuler24.03-py3.11 | Dockerfile |
26.1.0-910b-ubuntu22.04-py3.11 | Dockerfile |
An NPU driver compatible with the container's CANN version must be installed on the host. See the CANN Compatibility Matrix for driver ↔ CANN version mapping.
docker build -t {your_repo}/vision:latest -f Dockerfile.<chip_series>.<os> .
docker run \
--name vision_container \
--device /dev/davinci1 \
--device /dev/davinci_manager \
--device /dev/devmm_svm \
--device /dev/hisi_hdc \
-v /usr/local/dcmi:/usr/local/dcmi \
-v /usr/local/bin/npu-smi:/usr/local/bin/npu-smi \
-v /usr/local/Ascend/driver/lib64/:/usr/local/Ascend/driver/lib64/ \
-v /usr/local/Ascend/driver/version.info:/usr/local/Ascend/driver/version.info \
-v /etc/ascend_install.info:/etc/ascend_install.info \
-it ascend/vision:tag bash
docker exec -it vision_container bash
pip show mindx
If detailed information of the mindx package is displayed, you have successfully entered the container.
# Add required software by developer
FROM swr.cn-south-1.myhuaweicloud.com/ascendhub/visionsdk:26.0.0-310p-ubuntu22.04-py3.11
RUN apt update -y && \
apt install gcc ...
...
VisionSDK provides sample code to help developers get started quickly. You can access the examples through the following link:
| Product Examples | Architecture |
|---|---|
| Atlas Inference Product Series | ARM64 / x86_64 |
| Atlas 800I A2 | ARM64 / x86_64 |
View the license information for CANN and MindSeries software included in these images.
As with all container images, the pre-installed packages (Python, system libraries, etc.) may be subject to their own licenses.
Content type
Image
Digest
sha256:0dce2005d…
Size
4.1 GB
Last updated
1 day ago
docker pull ascendai/visionsdk:26.0.0-310p-ubuntu22.04-py3.11