mingyang91 commited on
Commit
c90f080
·
verified ·
1 Parent(s): 50e648a

fix confidence

Browse files
Files changed (1) hide show
  1. demo.py +1 -1
demo.py CHANGED
@@ -26,7 +26,7 @@ def main():
26
  t1 = time.time()
27
  im = Image.open(buffer)
28
  # im.save("saved_images/image.jpg")
29
- res_img = detect(im, confidence)
30
  t2 = time.time()
31
 
32
  # Displaying the image
 
26
  t1 = time.time()
27
  im = Image.open(buffer)
28
  # im.save("saved_images/image.jpg")
29
+ res_img = detect(im, confidence / 100.0)
30
  t2 = time.time()
31
 
32
  # Displaying the image