You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Computer Vision ML inference in C++
8
8
* Growing number of supported models behind a simple API
9
9
* Modular design for full control and implementing your own models
10
10
11
-
Based on [GGML](https://github.com/ggml-org/ggml)which also powers the [llama.cpp](https://github.com/ggml-org/llama.cpp) project.
11
+
Based on [ggml](https://github.com/ggml-org/ggml)similar to the [llama.cpp](https://github.com/ggml-org/llama.cpp) project.
12
12
13
13
### Features
14
14
@@ -28,12 +28,11 @@ Get the library and executables:
28
28
29
29
### Example: Select an object in an image
30
30
31
-
Let's use MobileSAM to generate a segmentation mask.
31
+
Let's use MobileSAM to generate a segmentation mask of the plushy on the right by passing in a box describing its approximate location.
32
32
33
-
<imgalt="Example image showing box prompt and mask output"src="docs/media/example-sam.jpg"width="400">
33
+
<imgalt="Example image showing box prompt at pixel location (420, 120) -> (650, 430), and the output mask"src="docs/media/example-sam-coords.jpg"width="400">
34
34
35
-
We target the plushy on the right by passing a box at pixel position (420, 120) → (650, 430).
36
-
Download the model [MobileSAM-F16.gguf](https://huggingface.co/Acly/MobileSAM-GGUF/resolve/main/MobileSAM-F16.gguf) and the [input image](docs/media/input.jpg).
35
+
You can download the model and input image here: [MobileSAM-F16.gguf](https://huggingface.co/Acly/MobileSAM-GGUF/resolve/main/MobileSAM-F16.gguf) | [input.jpg](docs/media/input.jpg)
37
36
38
37
39
38
#### CLI
@@ -43,6 +42,7 @@ Find the `vision-cli` executable in the `bin` folder and run it to generate the
0 commit comments