mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update facedetect
This commit is contained in:
parent
7c884abbd1
commit
ed0dda599c
@ -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"]
|
||||||
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user