David Scripps
commited on
Commit
·
2ae8599
1
Parent(s):
dd84729
fix warning in script
Browse files- RunLaboroTomato.cs +1 -1
RunLaboroTomato.cs
CHANGED
@@ -180,7 +180,7 @@ public class RunLaboroTomato : MonoBehaviour
|
|
180 |
|
181 |
int boxesFound = output.shape[0];
|
182 |
//Draw the bounding boxes
|
183 |
-
for (int n = 0; n < Mathf.Min(boxesFound,
|
184 |
{
|
185 |
var box = new BoundingBox
|
186 |
{
|
|
|
180 |
|
181 |
int boxesFound = output.shape[0];
|
182 |
//Draw the bounding boxes
|
183 |
+
for (int n = 0; n < Mathf.Min(boxesFound, maxOutputBoxes); n++)
|
184 |
{
|
185 |
var box = new BoundingBox
|
186 |
{
|