self._plugin_type = "mask"
self._image_is_aligned = image_is_aligned
self._storage_name = self.__module__.split(".")[-1].replace("_", "-")
self._storage_size = 128 // Size to store masks at. Leave this at default
self._faces_per_filename = dict() // Tracking for recompiling face batches
self._rollover = None // Items that are rolled over from the previous batch in get_batch
self._output_faces = []
After Change
item.filename)
break
if batch:
logger.trace("Returning batch: %s", {k: v.shape if isinstance(v, np.ndarray) else v
for k, v in batch.items()})
else:
logger.trace(item)
return exhausted, batch