Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
jashandeep-sohi authored Dec 23, 2023
1 parent 01a04c6 commit 1632690
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1632690

Please sign in to comment.