DeepCreamPy/Dockerfile-py3
SoftArmpit 9847a7f33f feat: pass whole images and auto-detect shapes
We add auto-detection of mask shapes, enabling the ability to put whole
images in the input folder. This is done through OpenCV by checking for
large contours (>150) matching the mask color.

Depends: https://github.com/deeppomf/DeepMindBreak/pull/8
2018-06-15 16:59:22 +01:00

16 lines
411 B
Plaintext

FROM tensorflow/tensorflow:latest-py3
RUN apt-get update \
&& apt-get install -y python3 python3-pip python3-tk python3-numpy libsm6 libxext6 libxrender-dev \
&& apt-get clean
RUN apt-get install -y vim
WORKDIR /app
COPY . /app
RUN pip --no-cache-dir install --upgrade pip setuptools
RUN pip --no-cache-dir install wheel
RUN pip --no-cache-dir install -r requirements.txt
CMD ["python3", "decensor.py"]