Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Read the [`Security Policy`](SECURITY.md).
Clone the repository and follow the [`README`](README.md) to get started with the sample applications of interest.

```
git clone https://github.com/open-edge-platform/edge-ai-libraries.git
git clone https://github.com/open-edge-platform/edge-ai-libraries.git -b release-1.2.0
cd edge-ai-libraries
```

Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

The **Edge AI Libraries** project hosts a collection of libraries, microservices, and tools for Edge application development. This project also includes sample applications to showcase the generic AI use cases.

Some of these components are available as git submodules, and can be fetched with `git submodule update --init --recursive`

Key components of the **Edge AI Libraries**:

| Component | Category | Get Started | Developers Docs |
Expand Down Expand Up @@ -51,8 +49,6 @@ Key components of the **Edge AI Libraries**:
| [PLCopen Benchmark](plcopen-benchmark) | Sample Application | [Link](sample-applications/plcopen-benchmark) | [Build](sample-applications/plcopen-benchmark/README.md) |
| [PLCopen Databus](plcopen-databus) | Sample Application | [Link](sample-applications/plcopen-databus) | [Build](sample-applications/plcopen-databus/README.md) |
| [Video Search and Summarization](sample-applications/video-search-and-summarization) | Sample Application | [Link](sample-applications/video-search-and-summarization/docs/user-guide/get-started.md) | [Build](sample-applications/video-search-and-summarization/docs/user-guide/build-from-source.md) instructions |
| [Optimized Isolation Forest Classifier Training and Inference Microservice](https://github.com/intel/isolation-forest-microservice) | Microservice| [Link](https://github.com/intel/isolation-forest-microservice/blob/main/README.md)| [Build](https://github.com/intel/isolation-forest-microservice/blob/main/README.md) |
| [Optimizied Random Forest Training and Inference Microservice](https://github.com/intel/random-forest-microservice) | Microservice | [Link](https://github.com/intel/random-forest-microservice/blob/main/README.md) | [Build](https://github.com/intel/random-forest-microservice/blob/main/README.md) |

> Intel, the Intel logo, OpenVINO, and the OpenVINO logo are trademarks of Intel Corporation or its subsidiaries.

Expand All @@ -78,6 +74,6 @@ The **Edge AI Libraries** project is licensed under the [APACHE 2.0](LICENSE) li
|:----------|:--------|
| Dataset Management Framework (Datumaro) | [MIT License](https://github.com/open-edge-platform/datumaro/blob/develop/LICENSE) |
| Intel® Geti™ | [Limited Edge Software Distribution License](https://github.com/open-edge-platform/geti/blob/main/LICENSE) |
| Intel® SceneScape | [Limited Edge Software Distribution License](https://github.com/open-edge-platform/scenescape/blob/main/LICENSE) |
| Intel® SceneScape | [Limited Edge Software Distribution License](https://github.com/open-edge-platform/scenescape/tree/main/LICENSES) |


7 changes: 2 additions & 5 deletions libraries/dl-streamer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ set(PLUGIN_VERSION ${PRODUCT_VERSION})
add_definitions(-DPLUGIN_VERSION="${PLUGIN_VERSION}")
add_definitions(-DPACKAGE="dlstreamer")
add_definitions(-DPACKAGE_NAME="Intel® DL Streamer elements")
add_definitions(-DGST_PACKAGE_ORIGIN="https://github.com/open-edge-platform/edge-ai-libraries/tree/main/libraries/dl-streamer")
add_definitions(-DGST_PACKAGE_ORIGIN="https://github.com/open-edge-platform/edge-ai-libraries/tree/release-1.2.0/libraries/dl-streamer")
add_definitions(-DPLUGIN_LICENSE="MIT/X11")
add_definitions(-DPRODUCT_FULL_NAME="Intel® DL Streamer")

Expand Down Expand Up @@ -123,15 +123,12 @@ cmake_dependent_option(ENABLE_ITT "Enable ITT for tracing" ON "UNIX AND NOT ${CM
cmake_dependent_option(ENABLE_VAAPI "Parameter to enable VAAPI for image pre-processing" ON "UNIX" ON)
cmake_dependent_option(ENABLE_PAHO_INSTALLATION "Enables paho-mqtt3c installation" OFF "UNIX" OFF)
cmake_dependent_option(ENABLE_TESTS "Parameter to enable tests building" ON "UNIX" OFF)
cmake_dependent_option(ENABLE_FUZZING "Parameter to enable fuzzy tests building" OFF "UNIX" OFF)
cmake_dependent_option(ENABLE_RDKAFKA_INSTALLATION "Enables rdkafka installation" OFF "UNIX" OFF)
option(ENABLE_AUDIO_INFERENCE_ELEMENTS "Enables audio inference elements" ON)
option(ENABLE_VPUX "Enables VPUX specific features" OFF)
option(ENABLE_REALSENSE "Parameter to enable RelaseSense plugin compilation" OFF)
option(ENABLE_GENAI "Enables GenAI elements" OFF)
message("ENABLE_PAHO_INSTALLATION=${ENABLE_PAHO_INSTALLATION}")
message("ENABLE_RDKAFKA_INSTALLATION=${ENABLE_RDKAFKA_INSTALLATION}")
message("ENABLE_REALSENSE=${ENABLE_REALSENSE}")

# Define compiler flags

Expand Down Expand Up @@ -216,5 +213,5 @@ endif()

if(${ENABLE_TESTS} AND NOT(WIN32))
enable_testing()
add_subdirectory(tests)
add_subdirectory(tests/unit_tests)
endif()
28 changes: 14 additions & 14 deletions libraries/dl-streamer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Overview
<div align="center"><img src="intro.gif" width=900/></div>

[Intel® Deep Learning Streamer](./docs/source/index.md) (**Intel® DL Streamer**) Pipeline Framework is an open-source streaming media analytics framework, based on [GStreamer*](https://gstreamer.freedesktop.org) multimedia framework, for creating complex media analytics pipelines for the Cloud or at the Edge.
[Intel® Deep Learning Streamer](https://dlstreamer.github.io) (**Intel® DL Streamer**) Pipeline Framework is an open-source streaming media analytics framework, based on [GStreamer*](https://gstreamer.freedesktop.org) multimedia framework, for creating complex media analytics pipelines for the Cloud or at the Edge.

**Media analytics** is the analysis of audio & video streams to detect, classify, track, identify and count objects, events and people. The analyzed results can be used to take actions, coordinate events, identify patterns and gain insights across multiple domains: retail store and events facilities analytics, warehouse and parking management, industrial inspection, safety and regulatory compliance, security monitoring, and many other.

Expand All @@ -14,26 +14,26 @@ Intel® DL Streamer Pipeline Framework is optimized for performance and function
* Image processing plugins based on [OpenCV](https://opencv.org/) and [DPC++](https://www.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-programming-model/data-parallel-c-dpc.html)
* Hundreds other [GStreamer* plugins](https://gstreamer.freedesktop.org/documentation/plugins_doc.html) built on various open-source libraries for media input and output, muxing and demuxing, decode and encode

[This page](./docs/source/elements/elements.md) contains a list of elements provided in this repository.
[This page](https://dlstreamer.github.io/elements/elements.html) contains a list of elements provided in this repository.

## Prerequisites
Please refer to [System Requirements](./docs/source/get_started/system_requirements.md) for details.
Please refer to [System Requirements](https://dlstreamer.github.io/get_started/system_requirements.html) for details.

## Installation
Please refer to [Install Guide](./docs/source/get_started/install/install_guide_ubuntu.md) for installation options
1. [Install APT packages](./docs/source/get_started/install/install_guide_ubuntu.md#option-1-install-intel-dl-streamer-pipeline-framework-from-debian-packages-using-apt-repository)
2. [Run Docker image](./docs/source/get_started/install/install_guide_ubuntu.md#option-2-install-docker-image-from-docker-hub-and-run-it)
3. [Compile from source code](./docs/source/dev_guide/advanced_install/advanced_install_guide_compilation.md)
4. [Build Docker image from source code](./docs/source/dev_guide/advanced_install/advanced_build_docker_image.md)
Please refer to [Install Guide](https://dlstreamer.github.io/get_started/install/install_guide_ubuntu.html) for installation options
1. [Install APT packages](https://dlstreamer.github.io/get_started/install/install_guide_ubuntu.html#option-1-install-intel-dl-streamer-pipeline-framework-from-debian-packages-using-apt-repository)
2. [Run Docker image](https://dlstreamer.github.io/get_started/install/install_guide_ubuntu.html#option-2-install-docker-image-from-docker-hub-and-run-it)
3. [Compile from source code](https://dlstreamer.github.io/dev_guide/advanced_install/advanced_install_guide_compilation.html)
4. [Build Docker image from source code](https://dlstreamer.github.io/dev_guide/advanced_install/advanced_build_docker_image.html)

To see the full list of installed components check the [dockerfile content for Ubuntu24](https://raw.githubusercontent.com/open-edge-platform/edge-ai-libraries/refs/heads/main/libraries/dl-streamer/docker/dlstreamer_dev_ubuntu24.Dockerfile)
To see the full list of installed components check the [dockerfile content for Ubuntu24](https://raw.githubusercontent.com/open-edge-platform/edge-ai-libraries/refs/heads/release-1.2.0/libraries/dl-streamer/docker/ubuntu/ubuntu24.Dockerfile)

## Samples
[Samples](https://github.com/open-edge-platform/edge-ai-libraries/tree/main/libraries/dl-streamer/samples) available for C/C++ and Python programming, and as gst-launch command lines and scripts.
[Samples](https://github.com/open-edge-platform/edge-ai-libraries/tree/release-1.2.0/libraries/dl-streamer/samples) available for C/C++ and Python programming, and as gst-launch command lines and scripts.

## NN models
Intel® DL Streamer supports NN models in OpenVINO™ IR and ONNX* formats.
List of [supported models](./docs/source/supported_models.md) which include LVM, object detection, object classification, human pose detection, sound classification, semantic segmentation, and other use cases on SSD, MobileNet, YOLO, Tiny YOLO, EfficientDet, ResNet, FasterRCNN and other backbones also pre-trained with [Intel® Geti™ Software](<https://www.intel.com/content/www/us/en/developer/tools/tiber/edge-platform/model-builder.html>)
List of [supported models](<https://dlstreamer.github.io/supported_models.html>) which include LVM, object detection, object classification, human pose detection, sound classification, semantic segmentation, and other use cases on SSD, MobileNet, YOLO, Tiny YOLO, EfficientDet, ResNet, FasterRCNN and other backbones also pre-trained with [Intel® Geti™ Software](<https://www.intel.com/content/www/us/en/developer/tools/tiber/edge-platform/model-builder.html>)

## Reporting Bugs and Feature Requests
Report bugs and requests [on the issues page](https://github.com/open-edge-platform/edge-ai-libraries/issues)
Expand Down Expand Up @@ -89,9 +89,9 @@ export GST_PLUGIN_FEATURE_RANK=${GST_PLUGIN_FEATURE_RANK},ximagesink:MAX
```

## Other Useful Links
* [Get Started](./docs/source/get_started/get_started_index.md)
* [Developer Guide](./docs/source/dev_guide/dev_guide_index.md)
* [API Reference](./docs/source/api_ref/api_reference.rst)
* [Get Started](https://dlstreamer.github.io/get_started/get_started_index.html)
* [Developer Guide](https://dlstreamer.github.io/dev_guide/dev_guide_index.html)
* [API Reference](https://dlstreamer.github.io/api_ref/api_reference.html)

---
\* Other names and brands may be claimed as the property of others.
2 changes: 1 addition & 1 deletion libraries/dl-streamer/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ For more detailed instructions please refer to [Intel® DL Streamer Pipeline Fra

## Samples

The [samples](https://github.com/open-edge-platform/edge-ai-libraries/tree/main/libraries/dl-streamer/samples) folder in Intel® DL Streamer Pipeline Framework repository contains command line, C++ and Python examples.
The [samples](https://github.com/open-edge-platform/edge-ai-libraries/tree/release-1.2.0/libraries/dl-streamer/samples) folder in Intel® DL Streamer Pipeline Framework repository contains command line, C++ and Python examples.

## Legal Information

Expand Down
22 changes: 10 additions & 12 deletions libraries/dl-streamer/docker/fedora41/fedora41.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
# V
# dlstreamer
# ==============================================================================
ARG DOCKER_REGISTRY
FROM ${DOCKER_REGISTRY}fedora:41 AS builder
FROM fedora:41 AS builder

ARG BUILD_ARG=Release

Expand Down Expand Up @@ -63,7 +62,7 @@ RUN \
"https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm" && \
dnf install -y libva-utils xz python3-pip python3-gobject gcc gcc-c++ glibc-devel glib2-devel \
flex bison autoconf automake libtool libogg-devel make libva-devel yasm mesa-libGL-devel libdrm-devel \
python3-gobject-devel python3-devel tbb gnupg2 unzip gflags-devel openssl-devel openssl-devel-engine \
python3-gobject-devel python3-devel tbb gnupg2 unzip opencv-devel gflags-devel openssl-devel openssl-devel-engine \
gobject-introspection-devel x265-devel x264-devel libde265-devel libgudev-devel libusb1 libusb1-devel nasm python3-virtualenv \
cairo-devel cairo-gobject-devel libXt-devel mesa-libGLES-devel wayland-protocols-devel libcurl-devel which \
libssh2-devel cmake git valgrind numactl libvpx-devel opus-devel libsrtp-devel libXv-devel paho-c-devel \
Expand Down Expand Up @@ -349,7 +348,7 @@ ENV BINDIR=${DLSTREAMER_DIR}/build/intel64/${BUILD_ARG}/bin
ENV PATH=${GSTREAMER_DIR}/bin:${BINDIR}:${PATH}
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${LIBDIR}/pkgconfig:/usr/lib64/pkgconfig:${GSTREAMER_DIR}/lib/pkgconfig:/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}
ENV LIBRARY_PATH=${GSTREAMER_DIR}/lib:${LIBDIR}:/usr/lib:/usr/local/lib:${LIBRARY_PATH}
ENV LD_LIBRARY_PATH=${GSTREAMER_DIR}/lib:${LIBDIR}:/usr/lib:/usr/local/lib:/usr/local/lib64/:${LD_LIBRARY_PATH}
ENV LD_LIBRARY_PATH=${GSTREAMER_DIR}/lib:${LIBDIR}:/usr/lib:/usr/local/lib:${LD_LIBRARY_PATH}
ENV LIB_PATH=$LIBDIR
ENV GST_PLUGIN_PATH=${LIBDIR}:${GSTREAMER_DIR}/lib/gstreamer-1.0:/usr/lib64/gstreamer-1.0:${GST_PLUGIN_PATH}
ENV LC_NUMERIC=C
Expand Down Expand Up @@ -384,7 +383,7 @@ RUN \
WORKDIR /home/dlstreamer
USER dlstreamer

# ==============================================================================

FROM dlstreamer-dev AS rpm-builder

SHELL ["/bin/bash", "-xo", "pipefail", "-c"]
Expand Down Expand Up @@ -412,6 +411,7 @@ RUN \
cp -r "${DLSTREAMER_DIR}/include/" /${RPM_PKG_NAME}/opt/intel/dlstreamer/ && \
cp "${DLSTREAMER_DIR}/README.md" /${RPM_PKG_NAME}/opt/intel/dlstreamer && \
cp -rT "${GSTREAMER_DIR}" /${RPM_PKG_NAME}/opt/intel/dlstreamer/gstreamer && \
cp -a /usr/lib64/libopencv* /${RPM_PKG_NAME}/opt/opencv/ && \
cp -a /usr/local/lib64/libopencv* /${RPM_PKG_NAME}/opt/opencv/ && \
cp -a /usr/local/lib/librdkafka* /${RPM_PKG_NAME}/opt/rdkafka/ && \
find /usr/local/lib -regextype grep -regex ".*libav.*so\.[0-9]*$" -exec cp {} /${RPM_PKG_NAME}/opt/ffmpeg \; && \
Expand All @@ -429,12 +429,9 @@ RUN \
find /${RPM_PKG_NAME}/opt/intel -name "*.a" -delete && \
rpmbuild -bb ~/rpmbuild/SPECS/intel-dlstreamer.spec

RUN mkdir /rpms && \
cp ~/rpmbuild/RPMS/x86_64/${RPM_PKG_NAME}* "/rpms/${RPM_PKG_NAME}.${DLSTREAMER_BUILD_NUMBER}-1.fc41.x86_64.rpm"
RUN cp ~/rpmbuild/RPMS/x86_64/${RPM_PKG_NAME}* "/${RPM_PKG_NAME}.${DLSTREAMER_BUILD_NUMBER}-1.fc41.x86_64.rpm"

# ==============================================================================
ARG DOCKER_REGISTRY
FROM ${DOCKER_REGISTRY}fedora:41 AS dlstreamer
FROM fedora:41 AS dlstreamer

SHELL ["/bin/bash", "-xo", "pipefail", "-c"]

Expand All @@ -456,7 +453,7 @@ gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.

RUN mkdir -p /rpms

COPY --from=rpm-builder /rpms/*.rpm /rpms/
COPY --from=rpm-builder /*.rpm /rpms/

# Download and install DLS rpm package
RUN \
Expand All @@ -468,7 +465,8 @@ RUN \

ENV LIBVA_DRIVER_NAME=iHD
ENV GST_PLUGIN_PATH=/opt/intel/dlstreamer/lib:/opt/intel/dlstreamer/gstreamer/lib/gstreamer-1.0:/opt/intel/dlstreamer/gstreamer/lib/
ENV LD_LIBRARY_PATH=/opt/intel/dlstreamer/gstreamer/lib:/opt/intel/dlstreamer/lib:/opt/intel/dlstreamer/lib/gstreamer-1.0:/usr/lib:/opt/intel/dlstreamer/lib:/opt/opencv:/opt/rdkafka:/opt/ffmpeg:/usr/local/libENV LIBVA_DRIVERS_PATH=/usr/lib64/dri-nonfree
ENV LD_LIBRARY_PATH=/opt/intel/dlstreamer/gstreamer/lib:/opt/intel/dlstreamer/lib:/opt/intel/dlstreamer/lib/gstreamer-1.0:/usr/lib:/opt/intel/dlstreamer/lib:/opt/opencv:/opt/openh264:/opt/rdkafka:/opt/ffmpeg:/usr/local/lib/gstreamer-1.0:/usr/local/lib
ENV LIBVA_DRIVERS_PATH=/usr/lib64/dri-nonfree
ENV GST_VA_ALL_DRIVERS=1
ENV MODEL_PROC_PATH=/opt/intel/dlstreamer/samples/gstreamer/model_proc
ENV PATH=/python3venv/bin:/opt/intel/dlstreamer/gstreamer/bin:/opt/intel/dlstreamer/bin:$PATH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Summary: Deep Learning Streamer

License: Proprietary
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/open-edge-platform/edge-ai-libraries/tree/main/libraries/dl-streamer
URL: https://github.com/open-edge-platform/edge-ai-libraries/tree/release-1.2.0/libraries/dl-streamer
Packager: DL Streamer Team <[email protected]>
ExclusiveArch: x86_64
AutoReqProv: no
Expand Down
2 changes: 1 addition & 1 deletion libraries/dl-streamer/docker/ubuntu/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Package: intel-dlstreamer
Architecture: amd64
Replaces: intel-dlstreamer
Multi-Arch: same
Homepage: https://github.com/open-edge-platform/edge-ai-libraries/tree/main/libraries/dl-streamer
Homepage: https://github.com/open-edge-platform/edge-ai-libraries/tree/release-1.2.0/libraries/dl-streamer
Description: Intel(R) Deep Learning Streamer
Depends: ${misc:Depends}, ${shlibs:Depends}, libglib2.0-0t64, libjpeg-turbo8, libdrm2, libwayland-bin, libwayland-client0, libx11-6, libpng16-16t64, libva-drm2, libcurl4t64, libde265-0, libxext6, libva-x11-2, libgl1, libglx-mesa0, libva-wayland2, openexr, libgudev-1.0-0, vainfo, python3, python3-gi, python3-gi-cairo, libcairo2, libvpx9, libopus0, libsrtp2-1, libxv1, libtbb12, libpaho-mqtt1.3, librdkafka1, ffmpeg, libgirepository-1.0-1, libopencv-calib3d406t64, libopencv-core406t64, libopencv-dnn406t64, libopencv-features2d406t64, libopencv-flann406t64, libopencv-highgui406t64, libopencv-imgcodecs406t64, libopencv-imgproc406t64, libopencv-ml406t64, libopencv-objdetect406t64, libopencv-photo406t64, libopencv-stitching406t64, libopencv-video406t64, libopencv-videoio406t64, openvino-2025.2.0
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Package: intel-dlstreamer
Architecture: amd64
Replaces: intel-dlstreamer
Multi-Arch: same
Homepage: https://github.com/open-edge-platform/edge-ai-libraries/tree/main/libraries/dl-streamer
Homepage: https://github.com/open-edge-platform/edge-ai-libraries/tree/release-1.2.0/libraries/dl-streamer
Description: Intel(R) Deep Learning Streamer
Depends: ${misc:Depends}, ${shlibs:Depends}, libglib2.0-dev, libjpeg-turbo8, libdrm2, libwayland-bin, libwayland-client0, libx11-6, libpng16-16, libva-drm2, libcurl4, libde265-0, libxext6, libva-x11-2, libgl1, libglx-mesa0, libva-wayland2, openexr, libgudev-1.0-0, vainfo, python3-pip, python3-gi, python3-gi-cairo, libcairo2, libvpx7, libopus0, libsrtp2-1, libxv1, libtbb12, libpaho-mqtt1.3, ffmpeg, libgirepository-1.0-1, openvino-2025.2.0
Loading
Loading