for bakeup
This commit is contained in:
@ -397,7 +397,7 @@ def contrast_loop(fpath):
|
||||
|
||||
plt1 = show_recall_prec(recall, prec, ths)
|
||||
# plt1.show()
|
||||
plt.xlabel(f'threshold, Num: {len(blist)}')
|
||||
plt1.xlabel(f'threshold, Num: {len(blist)}')
|
||||
plt1.savefig(os.path.join(savepath, file+'_pr.png'))
|
||||
# plt1.close()
|
||||
|
||||
@ -408,13 +408,12 @@ def contrast_loop(fpath):
|
||||
|
||||
|
||||
|
||||
def main1():
|
||||
fpath = r'D:\contrast\dataset\1_to_n\0719'
|
||||
fpath = r'\\192.168.1.28\share\测试_202406\deletedBarcode\good'
|
||||
def main():
|
||||
fpath = r'\\192.168.1.28\share\测试_202406\deletedBarcode\other'
|
||||
|
||||
contrast_loop(fpath)
|
||||
|
||||
def main():
|
||||
def main1():
|
||||
del_barcode_file = 'D:/contrast/dataset/compairsonResult/deletedBarcode_20240709_pm.txt'
|
||||
basepath = r'D:\contrast\dataset\1_to_n\709'
|
||||
savepath = r'D:\contrast\dataset\result'
|
||||
@ -431,9 +430,9 @@ def resolve_vidoes():
|
||||
video2imgs(videopath, savepath)
|
||||
|
||||
if __name__ == '__main__':
|
||||
# main()
|
||||
main1()
|
||||
main()
|
||||
|
||||
# main1()
|
||||
# resolve_vidoes()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user