mirror of
https://github.com/283375/arcaea-offline-ocr.git
synced 2025-07-02 04:46:27 +00:00
Compare commits
4 Commits
structure-
...
c864414b88
Author | SHA1 | Date | |
---|---|---|---|
c864414b88
|
|||
0fbd33645b
|
|||
2643b43248
|
|||
d52d545864
|
@ -8,9 +8,7 @@ repos:
|
|||||||
rev: 23.1.0
|
rev: 23.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
exclude: _builtin_templates.py
|
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.12.0
|
rev: 5.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
exclude: _builtin_templates.py
|
|
||||||
|
@ -120,7 +120,7 @@ class DeviceRoisAutoT1(DeviceRoisAuto):
|
|||||||
return (
|
return (
|
||||||
self.w_mid - w / 2,
|
self.w_mid - w / 2,
|
||||||
self.layout_area_h_mid - 155 * self.factor - h,
|
self.layout_area_h_mid - 155 * self.factor - h,
|
||||||
w,
|
w * 0.4,
|
||||||
h,
|
h,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ class DeviceRoisAutoT2(DeviceRoisAuto):
|
|||||||
return (
|
return (
|
||||||
self.w_mid - w / 2,
|
self.w_mid - w / 2,
|
||||||
self.layout_area_h_mid - 235 * self.factor - h,
|
self.layout_area_h_mid - 235 * self.factor - h,
|
||||||
w,
|
w * 0.4,
|
||||||
h,
|
h,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user