镜像自地址
https://github.com/xming521/CTAI.git
已同步 2025-12-05 22:26:49 +00:00
16 行
352 B
Python
16 行
352 B
Python
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
|