Commit 5ed8d98
authored
fix(vision): use float for detect_object as these range between 0 and 1 (GoogleCloudPlatform#1047)
Use float specifier so that normalized vertices and confidence score are printed out.
Otherwise we get all zeroes for the vertices and confidence score.1 parent 03d5fac commit 5ed8d98
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments