DeepGeo_Ext_Yolo公司
deepgeo-ext-yolo的Python项目详细描述
deepgeo扩展::yolo
轻松深入学习
版权所有(c)2019 InfoLab(Donggun LEE)
如何安装
pip install deepgeo_ext_yolo
- 其他版本
# 0.0.1 pip install deepgeo_ext_yolo==0.0.1
- 要求
- python 3.6
pip install deepgeo opencv-python numpy
- 其他版本
如何使用
importdeepgeoengine=deepgeo.Engine()engine.add_model('maskrcnn_yolo','yolo','D:/default_config.json')image=deepgeo.Image("image.jpg","D:/Project")image=engine.detect('maskrcnn_yolo',image)[0]image.draw_annotations(image.get_annotation())image.save("D:/","test","PNG")
默认配置json
{"VERSION"="""MODEL_FILE_NAME":"road-damage.weights","MODEL_PATH":"model","CLASSES":"road-damage-class.txt","CONFIG":"road-damage.cfg","MEMO":"road damage detect"}