diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2023-09-08 14:04:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 14:04:34 +0100 |
commit | e5703d2f56ce24652e7ae85dc74484681e4dbcb9 (patch) | |
tree | 09a29c6a591f1bad678edb30f05bcf8c013605f4 /README.md | |
parent | 98172d46fa866ecaad2afd52777e9ac9a5f15b52 (diff) | |
download | candle-e5703d2f56ce24652e7ae85dc74484681e4dbcb9.tar.gz candle-e5703d2f56ce24652e7ae85dc74484681e4dbcb9.tar.bz2 candle-e5703d2f56ce24652e7ae85dc74484681e4dbcb9.zip |
Draw the mask on a merged image. (#775)
* Draw the mask on a merged image.
* Clippy fix.
* Enable the target point by default.
* Add to the readme.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -64,6 +64,8 @@ Check out our [examples](./candle-examples/examples/): - [yolo-v3](./candle-examples/examples/yolo-v3/) and [yolo-v8](./candle-examples/examples/yolo-v8/): object detection and pose estimation models. + [segment-anything](./candle-examples/examples/segment-anything/): image + segmentation model with prompt. Run them using the following commands: ``` cargo run --example whisper --release @@ -76,6 +78,7 @@ cargo run --example dinov2 --release -- --image path/to/myinput.jpg cargo run --example quantized --release cargo run --example yolo-v3 --release -- myimage.jpg cargo run --example yolo-v8 --release -- myimage.jpg # for pose estimation, add --task pose +cargo run --example segment-anything --release -- --image myimage.jpg ``` In order to use **CUDA** add `--features cuda` to the example command line. If |