Merge pull request #1816 from vinliao/master

Fix wrong coco.data path on darknet.py
pull/1913/head
Alexey 7 years ago committed by GitHub
commit 7f4b859514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      darknet.py

@ -278,7 +278,7 @@ netMain = None
metaMain = None
altNames = None
def performDetect(imagePath="data/dog.jpg", thresh= 0.25, configPath = "./cfg/yolov3.cfg", weightPath = "yolov3.weights", metaPath= "./data/coco.data", showImage= True, makeImageOnly = False, initOnly= False):
def performDetect(imagePath="data/dog.jpg", thresh= 0.25, configPath = "./cfg/yolov3.cfg", weightPath = "yolov3.weights", metaPath= "./cfg/coco.data", showImage= True, makeImageOnly = False, initOnly= False):
"""
Convenience function to handle the detection and returns of objects.

Loading…
Cancel
Save