mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-03 13:21:35 +02:00
add facedetect
This commit is contained in:
parent
2707f1997e
commit
7c884abbd1
17
facedetect/Dockerfile
Normal file
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
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/
|
Loading…
x
Reference in New Issue
Block a user