1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 15:36:59 +08:00

Fix: item_statistics load multiple template folder

This commit is contained in:
LmeSzinc
2020-08-09 22:16:06 +08:00
parent 20bfc4f8fc
commit 0df5131d73
3 changed files with 5 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ class AlOcr(CnOcr):
"""
class_ids = np.argmax(line_prob, axis=-1)
class_ids *= np.max(line_prob, axis=-1) > 0.1 # Delete low confidence result
class_ids *= np.max(line_prob, axis=-1) > 0.5 # Delete low confidence result
if img_width < max_img_width:
comp_ratio = self._hp.seq_len_cmpr_ratio