1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

add facedetect

This commit is contained in:
kev 2016-05-27 09:42:43 +08:00
parent 2707f1997e
commit 7c884abbd1
2 changed files with 33 additions and 0 deletions

17
facedetect/Dockerfile Normal file

@ -0,0 +1,17 @@
#
# Dockerfile for facedetect
#
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apt-get update \
&& apt-get install -y curl python python-opencv libopencv-dev \
&& curl -sSL https://github.com/wavexx/facedetect/raw/master/facedetect > /usr/local/bin/facedetect \
&& chmod +x /usr/local/bin/facedetect \
&& ln /dev/null /dev/raw1394 \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["facedetect"]
CMD ["--help"]

16
facedetect/README.md Normal file

@ -0,0 +1,16 @@
facedetect
==========
[facedetect][1] is a simple face detector for batch processing. It answers the
basic question: “Is there a face in this image?” and gives back either an exit
code or the coordinates of each detected face in the standard output.
Quick Start
-----------
```
$ alias facedetect='docker run --rm -v `pwd`:/work -w /work vimagick/facedetect'
$ facedetect image.png
```
[1]: http://www.thregr.org/~wavexx/software/facedetect/