Skip to content

Commit 342e19d

Browse files
committed
bugfix: Mask tool for bisenet-fp
1 parent 81b6002 commit 342e19d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

plugins/extract/mask/_base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ def __init__(self,
106106
self._storage_size = 128 # Size to store masks at. Leave this at default
107107
logger.debug("Initialized %s", self.__class__.__name__)
108108

109+
@property
110+
def storage_centering(self) -> CenteringType:
111+
""" Literal["face", "head", "legacy"] : The centering that the mask is stored at """
112+
return self._storage_centering
113+
109114
def _maybe_log_warning(self, face: AlignedFace) -> None:
110115
""" Log a warning, once, if we do not have full facial landmarks
111116

0 commit comments

Comments
 (0)