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
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FROM intel/dlstreamer:2025.1.2-ubuntu24

USER root

RUN apt-get update && apt-get install --yes --no-install-recommends gstreamer1.0-plugins-ugly
RUN apt-get update && apt-get install --yes --no-install-recommends python3.12-dev gstreamer1.0-plugins-ugly

USER dlstreamer

Expand All @@ -27,7 +27,7 @@ ENV GST_PLUGIN_PATH=$GST_PLUGIN_PATH/usr/lib/x86_64-linux-gnu/gstreamer-1.0/
WORKDIR /home/dlstreamer/vippet

ENV VIRTUAL_ENV=/home/dlstreamer/vippet/.venv
RUN python3 -m venv $VIRTUAL_ENV
RUN python3 -m venv $VIRTUAL_ENV --system-site-packages
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

COPY requirements.txt /home/dlstreamer/vippet/requirements.txt
Expand All @@ -51,4 +51,4 @@ COPY --chown=dlstreamer:dlstreamer \

COPY --chown=dlstreamer:dlstreamer pipelines/ /home/dlstreamer/vippet/pipelines

CMD ["/bin/bash", "-c", "./cleanup_models.sh; python app.py"]
CMD ["/bin/bash", "-c", "./cleanup_models.sh; python app.py > fps-metrics.txt"]
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ PUBLIC_MODELS_ENV := .public_models_env
export RENDER_GROUP_ID := 1000

$(VENV_DIR): requirements.txt ## Create Python venv
python3 -m venv $@ ;\
python3 -m venv $@ --system-site-packages;\
set +u; . ./$@/bin/activate; set -u ;\
python -m pip install --upgrade pip ;\
python -m pip install -r requirements-dev.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ def evaluate(
else:
streams += "fakesink "

return "gst-launch-1.0 -q " + streams
return streams
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,4 @@ def evaluate(
)

# Evaluate the pipeline
return "gst-launch-1.0 -q " + streams
return streams
Loading
Loading