mirror of
https://github.com/283375/arcaea-offline-ocr.git
synced 2025-04-16 03:50:18 +00:00
fix: DeviceV2AutoRois
should always crop black edges
This commit is contained in:
parent
90d268d8a6
commit
15ead84772
@ -274,7 +274,8 @@ class DeviceV2AutoRois(DeviceV2Rois):
|
||||
def __init__(self, img: Mat):
|
||||
factor = self.get_factor(img.shape[1], img.shape[0])
|
||||
self.sizes = Sizes(factor)
|
||||
self.__img = img
|
||||
self.__img = None
|
||||
self.img = img
|
||||
|
||||
@property
|
||||
def img(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user