1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update facedetect

This commit is contained in:
kev 2016-05-27 10:25:16 +08:00
parent 7c884abbd1
commit ed0dda599c
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ RUN set -xe \
&& apt-get install -y curl python python-opencv libopencv-dev \ && apt-get install -y curl python python-opencv libopencv-dev \
&& curl -sSL https://github.com/wavexx/facedetect/raw/master/facedetect > /usr/local/bin/facedetect \ && curl -sSL https://github.com/wavexx/facedetect/raw/master/facedetect > /usr/local/bin/facedetect \
&& chmod +x /usr/local/bin/facedetect \ && chmod +x /usr/local/bin/facedetect \
&& ln /dev/null /dev/raw1394 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["facedetect"] ENTRYPOINT ["facedetect"]

View File

@ -9,7 +9,7 @@ Quick Start
----------- -----------
``` ```
$ alias facedetect='docker run --rm -v `pwd`:/work -w /work vimagick/facedetect' $ alias facedetect='2>/dev/null docker run --rm -v `pwd`:/work -w /work vimagick/facedetect'
$ facedetect image.png $ facedetect image.png
``` ```