<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dockerized implementaion of person tracking]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I've been banging my head in moving my local repo to dockerized implementation, but i am stuck in an infinite loop because of Qt errors. The error I am getting is this:<br />
QFactoryLoader::QFactoryLoader() checking directory path "/opt/conda/bin/platforms" ...<br />
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""<br />
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.</p>
<p dir="auto">I've also noticed when I switch to opencv version= 4.1.2.30 it starts working I can then see opencv windows and everything works flowlessly, but as soon as I switch to opencv version= 4.5.5.64 it stops working. I want to stick to opencv version= 4.5.5.64. Please can anyone guide me what dependency i should install to make it working or may be there is something that I am missing.</p>
<h1>YOLOv5 🚀 by Ultralytics, GPL-3.0 license</h1>
<h1>Start FROM NVIDIA PyTorch image <a href="https://ngc.nvidia.com/catalog/containers/nvidia:pytorch" target="_blank" rel="noopener noreferrer nofollow ugc">https://ngc.nvidia.com/catalog/containers/nvidia:pytorch</a></h1>
<p dir="auto">FROM <a href="http://nvcr.io/nvidia/pytorch:22.04-py3" target="_blank" rel="noopener noreferrer nofollow ugc">nvcr.io/nvidia/pytorch:22.04-py3</a><br />
RUN rm -rf /opt/pytorch  # remove 1.2GB dir</p>
<h1>Downloads to user config dir</h1>
<p dir="auto">#ADD <a href="https://ultralytics.com/assets/Arial.ttf" target="_blank" rel="noopener noreferrer nofollow ugc">https://ultralytics.com/assets/Arial.ttf</a> <a href="https://ultralytics.com/assets/Arial.Unicode.ttf" target="_blank" rel="noopener noreferrer nofollow ugc">https://ultralytics.com/assets/Arial.Unicode.ttf</a> /root/.config/Ultralytics/</p>
<h1>Install linux packages</h1>
<p dir="auto">RUN apt-get update &amp;&amp; apt-get autoclean<br />
RUN apt-get update &amp;&amp; apt-get install -y --no-install-recommends python3-pip<br />
RUN pip3 install pyqt5<br />
RUN apt-get install -y '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev<br />
RUN apt-get install -y libsm6 libxrender1 libfontconfig1<br />
ENV QT_DEBUG_PLUGINS=1</p>
<h1>Install pip packages</h1>
<p dir="auto">COPY requirements.txt .<br />
RUN python -m pip install --upgrade pip<br />
RUN pip uninstall -y torch torchvision torchtext Pillow<br />
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook Pillow&gt;=9.1.0 <br />
torch torchvision --extra-index-url <a href="https://download.pytorch.org/whl/cu113" target="_blank" rel="noopener noreferrer nofollow ugc">https://download.pytorch.org/whl/cu113</a></p>
<p dir="auto">#RUN pip install opencv-contrib-python==4.1.2.30</p>
<p dir="auto">RUN pip install opencv-contrib-python==4.5.5.64<br />
RUN mkdir -p /usr/src/app<br />
WORKDIR /usr/src/app<br />
COPY . /usr/src/app<br />
#RUN git clone <a href="https://github.com/ultralytics/yolov5" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ultralytics/yolov5</a> /usr/src/yolov5</p>
<h1>Set environment variables</h1>
<p dir="auto">ENV OMP_NUM_THREADS=8</p>
]]></description><link>https://forum.qt.io/topic/139448/dockerized-implementaion-of-person-tracking</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 09:35:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139448.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Sep 2022 10:52:20 GMT</pubDate><ttl>60</ttl></channel></rss>