Python 多线程

from multiprocessing import Process

Process(target=hist_compare, args=(img, detectImg, n)).start()  # 执行多线程调用检测函数

target为函数名称,args为参数,start为启动

posted @ 2023-02-21 17:01  cccht  阅读(16)  评论(0)    收藏  举报