1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-27 23:39:41 +08:00

Upd: ocr model azur_lane_jp (#5553)

This commit is contained in:
guoh064
2026-03-26 20:38:38 +08:00
committed by GitHub
parent 7cddbaf7a1
commit c422a4d58f
4 changed files with 7 additions and 7 deletions

View File

@@ -1901,5 +1901,5 @@
183
],
"heads": [[146, 0, 0], [150, 0, 0]],
"attrs": {"mxnet_version": ["int", 10600]}
"attrs": {"mxnet_version": ["int", 10901]}
}

View File

@@ -19,15 +19,15 @@ class OcrModel:
@cached_property
def azur_lane_jp(self):
# Folder: ./bin/cnocr_models/azur_lane_jp
# Size: 3.29MB
# Size: 3.25MB
# Model: densenet-lite-gru
# Epoch: 93
# Validation accuracy: 99.38%
# Font: Impact, VibeMO Compressed Pro Thin, Folk R
# Charset: 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
# Epoch: 20
# Validation accuracy: 99.01%
# Font: Impact, VibeMO Compressed Pro Thin, Folk R, Source Han Serif JP
# Charset: 0123456789ABCDEFGHIJKLMNPQRSTUVWXYZ:/- (Letter 'O' and <space> is not included)
# _num_classes: 39
from module.ocr.al_ocr import AlOcr
return AlOcr(model_name='densenet-lite-gru', model_epoch=93, root='./bin/cnocr_models/azur_lane_jp',
return AlOcr(model_name='densenet-lite-gru', model_epoch=20, root='./bin/cnocr_models/azur_lane_jp',
name='azur_lane_jp')
@cached_property