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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user