https://github.com/peter-mcconnell/talk-docker
https://github.com/peter-mcconnell/talk-docker
docker facerecognition opencv python x11
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/peter-mcconnell/talk-docker
- Owner: peter-mcconnell
- Created: 2020-02-18T17:13:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T18:45:14.000Z (over 5 years ago)
- Last Synced: 2025-01-19T06:27:56.246Z (6 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
```