Skip to content

Commit c2c96d3

Browse files
committed
opencv-python via apt
1 parent d43c608 commit c2c96d3

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

docker/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ RUN install_packages \
3838
libavformat59
3939
RUN install_packages \
4040
libopencv-dev \
41+
python3-opencv \
4142
zbar-tools \
4243
libzbar0 \
4344
sox \
@@ -53,9 +54,9 @@ RUN install_packages \
5354
tesseract-ocr-deu
5455

5556
ENV READTHEDOCS=True
56-
ADD requirements.txt /tmp/.
57+
ADD requirements_32.txt /tmp/.
5758
RUN pip install --break-system-packages --upgrade pip && \
58-
pip install --no-cache-dir --break-system-packages -r /tmp/requirements.txt
59+
pip install --no-cache-dir --break-system-packages -r /tmp/requirements_32.txt
5960

6061
RUN mkdir -p /coderbot && \
6162
mkdir -p /coderbot/data && \

requirements_32.txt

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# API framework
2+
connexion[uvicorn,flask,swagger-ui]==3.0.5
3+
tinydb==4.8.0
4+
5+
# Misc utils
6+
setuptools==69.2.0
7+
event-channel==0.4.3
8+
gpiozero==2.0.1
9+
uptime==3.0.1
10+
11+
# IO extensions
12+
pigpio==1.78
13+
smbus2==0.4.3
14+
spidev==3.6
15+
16+
# Audio
17+
sox==1.4.1
18+
PyAudio==0.2.14
19+
pyalsaaudio==0.10.0
20+
21+
# Computer Vision
22+
grpcio==1.68.0
23+
numpy==2.1.3
24+
Pillow==10.2.0
25+
protobuf==4.25.2
26+
#opencv-contrib-python-headless==4.10.0.84
27+
tflite-runtime
28+
pytesseract==0.3.10
29+
pyzbar==0.1.9

0 commit comments

Comments
 (0)