David Scripps commited on
Commit
2ae8599
·
1 Parent(s): dd84729

fix warning in script

Browse files
Files changed (1) hide show
  1. 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, 200); n++)
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
  {