mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-13 19:14:29 +08:00
Opt: use ONNX model converted from MXNet for faster OCR with MXNet fallback
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Image processing
|
||||
numpy==1.17.4
|
||||
numpy==1.21.6
|
||||
scipy==1.4.1
|
||||
pillow==9.5.0
|
||||
opencv-python-headless==4.7.0.72
|
||||
@@ -34,6 +34,7 @@ pypresence==4.2.1
|
||||
# Ocr
|
||||
cnocr==1.2.2
|
||||
mxnet==1.6.0
|
||||
onnxruntime==1.14.1
|
||||
|
||||
# Webui
|
||||
pywebio==1.6.2
|
||||
|
||||
@@ -44,7 +44,7 @@ def headless_requirements_generate(requirements_in='requirements-in.txt'):
|
||||
'aiofiles': '23.1.0',
|
||||
'inflection': '0.5.1',
|
||||
'lz4': '4.3.2',
|
||||
'numpy': '1.17.4',
|
||||
'numpy': '1.21.6',
|
||||
# 'onepush': '1.2.0',
|
||||
'opencv-python': {
|
||||
'name': 'opencv-python-headless',
|
||||
|
||||
Reference in New Issue
Block a user