Merge pull request #1816 from vinliao/master

Fix wrong coco.data path on darknet.py
This commit is contained in:
Alexey
2018-10-24 21:04:35 +03:00
committed by GitHub

View File

@ -278,7 +278,7 @@ netMain = None
metaMain = None metaMain = None
altNames = 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. Convenience function to handle the detection and returns of objects.