camiloa2m commited on
Commit
3f8d2a6
1 Parent(s): 5ab809f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -31,14 +31,14 @@ from ultralytics import YOLO
31
  # load model
32
  model = YOLO('camiloa2m/TabDetect-YOLOv8s')
33
 
34
- # set model parameters
35
  model.overrides['conf'] = 0.25 # NMS confidence threshold
36
  model.overrides['iou'] = 0.45 # NMS IoU threshold
37
  model.overrides['agnostic_nms'] = False # NMS class-agnostic
38
  model.overrides['max_det'] = 1000 # maximum number of detections per image
39
 
40
  # set image
41
- image = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg'
42
 
43
  # perform inference
44
  results = model.predict(image)
 
31
  # load model
32
  model = YOLO('camiloa2m/TabDetect-YOLOv8s')
33
 
34
+ # set model parameters (optional)
35
  model.overrides['conf'] = 0.25 # NMS confidence threshold
36
  model.overrides['iou'] = 0.45 # NMS IoU threshold
37
  model.overrides['agnostic_nms'] = False # NMS class-agnostic
38
  model.overrides['max_det'] = 1000 # maximum number of detections per image
39
 
40
  # set image
41
+ image = '<URL or Path to an image'
42
 
43
  # perform inference
44
  results = model.predict(image)