Update README.md
Browse files
README.md
CHANGED
@@ -41,7 +41,7 @@ const permuted = output.output0[0].transpose(1, 0);
|
|
41 |
|
42 |
// Example code to format it nicely:
|
43 |
const result = [];
|
44 |
-
const threshold = 0.5;
|
45 |
const [scaledHeight, scaledWidth] = pixel_values.dims.slice(-2);
|
46 |
for (const [xc, yc, w, h, ...scores] of permuted.tolist()) {
|
47 |
|
|
|
41 |
|
42 |
// Example code to format it nicely:
|
43 |
const result = [];
|
44 |
+
const threshold = 0.5; // Adjust the threshold as needed
|
45 |
const [scaledHeight, scaledWidth] = pixel_values.dims.slice(-2);
|
46 |
for (const [xc, yc, w, h, ...scores] of permuted.tolist()) {
|
47 |
|