Commit 6a09db2a authored by wangpeng's avatar wangpeng

外部添加依赖文件

parent a68b5c32
......@@ -56,11 +56,9 @@ class Main:
return color, bbox, category
# main test
colorOnnx_path = 'color.onnx'
yoloOnnx_path = 'yolo3.onnx'
# # main test
def get_result(image_arr):
def get_result(colorOnnx_path,yoloOnnx_path,image_arr):
m = Main(colorOnnx_path, yoloOnnx_path, image_arr)
color, bbox, category = m.colorAndbboxAndcategory()
return color, bbox, category
......
......@@ -33,4 +33,3 @@ setup(
dependency_links=dependency_links,
author_email='Your address email (eq. you@example.com)'
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment