diff --git a/facedetect/Dockerfile b/facedetect/Dockerfile new file mode 100644 index 0000000..ecc087f --- /dev/null +++ b/facedetect/Dockerfile @@ -0,0 +1,17 @@ +# +# Dockerfile for facedetect +# + +FROM debian:jessie +MAINTAINER kev + +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"] diff --git a/facedetect/README.md b/facedetect/README.md new file mode 100644 index 0000000..c89d65b --- /dev/null +++ b/facedetect/README.md @@ -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/