头像识别特征点提取范围改进
This commit is contained in:
parent
be7d86c961
commit
8dcc763421
2 changed files with 3 additions and 3 deletions
|
@ -506,7 +506,7 @@ class Arknights数据处理器:
|
||||||
with lzma.open(f"./mower/models/{name}.pkl", "wb") as f:
|
with lzma.open(f"./mower/models/{name}.pkl", "wb") as f:
|
||||||
pickle.dump(data, f)
|
pickle.dump(data, f)
|
||||||
|
|
||||||
extract("avatar", "BLACK", None)
|
extract("avatar", "BLACK", ((46, 46), (146, 146)))
|
||||||
extract("portrait", (140, 140, 140, 255), ((0, 85), (180, 195)))
|
extract("portrait", (140, 140, 140, 255), ((0, 85), (180, 195)))
|
||||||
|
|
||||||
def 获得干员基建描述(self):
|
def 获得干员基建描述(self):
|
||||||
|
|
BIN
mower/models/avatar.pkl
(Stored with Git LFS)
BIN
mower/models/avatar.pkl
(Stored with Git LFS)
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue