4 Commits

Author SHA1 Message Date
c864414b88 pre-commit (#9)
clean up legacy code
2023-10-29 17:20:33 +08:00
0fbd33645b impr: DeviceRoisAuto.clear_status width 2023-10-28 22:22:04 +08:00
2643b43248 Merge branch 'structure-refactor' 2023-10-25 18:10:30 +08:00
d52d545864 fix: max recall ocr improve 2023-10-07 13:16:32 +08:00
2 changed files with 2 additions and 4 deletions

View File

@ -8,9 +8,7 @@ repos:
rev: 23.1.0
hooks:
- id: black
exclude: _builtin_templates.py
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
exclude: _builtin_templates.py

View File

@ -120,7 +120,7 @@ class DeviceRoisAutoT1(DeviceRoisAuto):
return (
self.w_mid - w / 2,
self.layout_area_h_mid - 155 * self.factor - h,
w,
w * 0.4,
h,
)
@ -244,7 +244,7 @@ class DeviceRoisAutoT2(DeviceRoisAuto):
return (
self.w_mid - w / 2,
self.layout_area_h_mid - 235 * self.factor - h,
w,
w * 0.4,
h,
)