Readme: fix typo in code
Browse files
README.md
CHANGED
|
@@ -32,8 +32,8 @@ image_data image = image_load("input.png");
|
|
| 32 |
backend_device device = backend_init();
|
| 33 |
depthany_model model = depthany_load_model("Depth-Anything-V2-Small-F16.gguf", device);
|
| 34 |
image_data depth = depthany_compute(model, image);
|
| 35 |
-
image_data
|
| 36 |
-
image_save(
|
| 37 |
```
|
| 38 |
|
| 39 |
## License
|
|
|
|
| 32 |
backend_device device = backend_init();
|
| 33 |
depthany_model model = depthany_load_model("Depth-Anything-V2-Small-F16.gguf", device);
|
| 34 |
image_data depth = depthany_compute(model, image);
|
| 35 |
+
image_data output = image_f32_to_u8(depth, image_format::alpha_u8);
|
| 36 |
+
image_save(output, "depth.png");
|
| 37 |
```
|
| 38 |
|
| 39 |
## License
|