Skip to content

Commit

Permalink
fix brighten docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
dB2510 committed Feb 29, 2024
1 parent c7aa6bc commit 7ced284
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions book/cli/brighten.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@

To prove that an image is correctly brightened by a brightness factor `factor`, run:
```shell
docker run --rm -v "$(pwd):/opt/maya" 0xmayalabs/maya:latest prove brighten \
docker run --rm -v "$(pwd):/opt/maya" 0xmayalabs/maya-cli:latest prove brighten \
--original-image=./sample/original.png \
--final-image=./sample/brightened.png \
--factor=2 \
--brightening-factor=2 \
--proof-dir=proofs
```

To verify that an image is correctly brightened by a brightness factor `factor`, run:
```shell
docker run --rm -v "$(pwd):/opt/maya" 0xmayalabs/maya:latest verify brighten \
docker run --rm -v "$(pwd):/opt/maya" 0xmayalabs/maya-cli:latest verify brighten \
--final-image=./sample/brightened.png \
--factor=2 \
--proof-dir=proofs
```

0 comments on commit 7ced284

Please sign in to comment.