diff --git a/README.rst b/README.rst index ac0c85e..1e52882 100644 --- a/README.rst +++ b/README.rst @@ -28,6 +28,13 @@ Hardware acceleration (via VAAPI):: $ webcam-filters --input-dev /dev/video0 --output-dev /dev/video3 --background-blur 150 --hw-accel-api vaapi +Using docker:: + + $ docker run -it \ + --device=/dev/video0:/input-dev \ + --device=/dev/video3:/output-dev \ + ghcr.io/jashandeep-sohi/webcam-filters:master --background-blur 50 + Dependencies ------------ Other than the Python dependencies that can be automatically installed by Pip, @@ -130,13 +137,6 @@ Docker ****** The docker container wraps a Nix installation for those who prefer to have it dockerized. -Usage example:: - - $ docker run -it \ - --device=/dev/video0:/input-dev \ - --device=/dev/video3:/output-dev \ - ghcr.io/jashandeep-sohi/webcam-filters:master --background-blur 50 - You can retag the image locally if you don't want to refer to the long name:: $ docker tag ghcr.io/jashandeep-sohi/webcam-filters:master webcam-filters