镜像自地址
https://github.com/xming521/CTAI.git
已同步 2025-12-07 23:26:48 +00:00
init flask
这个提交包含在:
15
CTAI_flask/core/main.py
普通文件
15
CTAI_flask/core/main.py
普通文件
@@ -0,0 +1,15 @@
|
||||
from core import process, predict, get_feature
|
||||
|
||||
|
||||
def c_main(path,model):
|
||||
image_data = process.pre_process(path)
|
||||
# print(image_data)
|
||||
predict.predict(image_data,model)
|
||||
process.last_process(image_data[1])
|
||||
image_info = get_feature.main(image_data[1])
|
||||
|
||||
return image_data[1] + '.png', image_info
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
pass
|
||||
在新工单中引用
屏蔽一个用户