Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peter-mcconnell/talk-docker
https://github.com/peter-mcconnell/talk-docker
docker facerecognition opencv python x11
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/peter-mcconnell/talk-docker
- Owner: peter-mcconnell
- Created: 2020-02-18T17:13:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T18:45:14.000Z (almost 5 years ago)
- Last Synced: 2024-11-18T03:21:59.286Z (2 months ago)
- Topics: docker, facerecognition, opencv, python, x11
- Language: Python
- Size: 487 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-facerecognition demo
===========================a throw-away repo used during a docker presentation
run from docker hub
-------------------```sh
# this assumes the camera you want to connect to is /dev/video0docker run --rm \
--device /dev/video0 \
-e DISPLAY=$DISPLAY \
-e QT_X11_NO_MITSHM=1 \
-v /tmp/.X11-unix/:/tmp/.X11-unix/ \
-ti pemcconnell/facerecog
```build
-----```sh
# ahem ..
docker build -t=demo .# this assumes the camera you want to connect to is /dev/video0
docker run \
--rm \
--device=/dev/video0 \
-e DISPLAY=$DISPLAY \
-e QT_X11_NO_MITSHM=1 \
-v $(pwd):/src \
-v /tmp/.X11-unix/:/tmp/.X11-unix/ \
-w /src \
-ti demo \
python face.py
```