HarryEslick commited on
Commit
0a7c131
·
verified ·
1 Parent(s): 728fab3

update tile size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ from ultralytics.utils.ops import xywhn2xyxy
201
  def find_boxes_json(image_path):
202
  # print(annotator)
203
  img = cv2.imread(image_path)
204
- detections = inference_large(img, model_path, sam_path=None, edge_pct=0.01, conf_threshold=0.4, overlap_px=100, tile_px=400)
205
  annotations = detections_to_json(detections, image_path)
206
  annotations["image"] = image_path
207
  # annotator.update(annotations)
 
201
  def find_boxes_json(image_path):
202
  # print(annotator)
203
  img = cv2.imread(image_path)
204
+ detections = inference_large(img, model_path, sam_path=None, edge_pct=0.01, conf_threshold=0.4, overlap_px=200, tile_px=640)
205
  annotations = detections_to_json(detections, image_path)
206
  annotations["image"] = image_path
207
  # annotator.update(annotations)