Add 'car/' from commit 'eee0e8dc445691e600680f4abc77f2814b20b054'

git-subtree-dir: car
git-subtree-mainline: 1d29a5526c
git-subtree-split: eee0e8dc44
This commit is contained in:
Piv
2020-04-19 11:07:44 +09:30
93 changed files with 8401 additions and 0 deletions

30
car/Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
FROM python:3.6-slim
RUN apt-get update
# OpenCV has a LOT of dependencies.
RUN apt-get install -y \
libglib2.0-0 \
libsm6 \
libxext6 \
libswscale-dev \
libtbb2 \
libtbb-dev \
libjpeg-dev \
libpng-dev \
libtiff-dev \
libavformat-dev \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt /
RUN pip install --trusted-host pypi.python.org -r requirements.txt
WORKDIR /app
COPY . /app
# We aren't listening, just connecting, so probs won't need this.
# EXPOSE 1883
ENV PYTHONPATH=/app
CMD ["python", "DecisionSystem/CentralisedDecision/cameraserver.py", "-V", "/app/HandRecognitionMacbookFixed.mp4"]