1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Upd: Research patches from azur-stats-server

(cherry picked from commit f3428c8a0f19570536e20ea54be41f481a5408db)
This commit is contained in:
LmeSzinc
2022-08-07 17:44:56 +08:00
parent f7ecde114c
commit 5e962e8948
5 changed files with 67 additions and 12 deletions

View File

@@ -6,7 +6,18 @@ import numpy as np
from module.base.utils import crop, image_size
class ImageUnknown(Exception):
""" Image from a unknown drop scene, no such method to parse """
pass
class ImageDiscarded(Exception):
""" Image can be parsed but the statistical results are meaningless, discard this image """
pass
class ImageError(Exception):
""" Error when parsing images """
pass