#try to: help(scan), explain about the result format of process is: , #until here you will get some data in default mode from alexeyAB, as explain in module. Test = scan(imagePath=picpath, thresh=0.25, configPath=cfg, weightPath=data, metaPath=coco, showImage=False, makeImageOnly=False, initOnly=False) #default format, i prefer only call the result not to produce image to get more performance ''' this script if you want only want get the coord '''Ĭfg='D:/core/darknetAB/cfg/yolov3.cfg' #change this if you want use different configĬoco='D:/core/darknetAB/cfg/coco.data' #you can change this tooĭata='D:/core/darknetAB/yolov3.weights' #and this, can be change by you Start scripting: from darknet import performDetect as scan #calling 'performDetect' function from darknet.py With this setting, you can call darknet.py (from alexeyAB\darknet repository) as your python module from any folder. Names = D:/core/darknetAB/data/coco.names Setting python path of your darknet folder in environtment path:Įdit file coco.data in cfg folder, by change the names folder variable to your coco.names folder, in my case:
0 Comments
Leave a Reply. |