mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Formatting
This commit is contained in:
parent
50cf10085e
commit
40f21e7346
@ -573,6 +573,7 @@ def clipped(obj, frame_shape):
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
class FrameManager(ABC):
|
||||
@abstractmethod
|
||||
def create(self, name, size) -> AnyStr:
|
||||
@ -639,6 +640,7 @@ class SharedMemoryFrameManager(FrameManager):
|
||||
self.shm_store[name].unlink()
|
||||
del self.shm_store[name]
|
||||
|
||||
|
||||
def create_mask(frame_shape, mask):
|
||||
mask_img = np.zeros(frame_shape, np.uint8)
|
||||
mask_img[:] = 255
|
||||
|
||||
Loading…
Reference in New Issue
Block a user