AlignedFilter
- class lib.infer.align.AlignedFilter(enabled: bool)
Bases:
objectApplies filters to the output of the aligner
- Parameters:
enabled (bool) –
Trueto enable filters.Falseto disable
Methods Summary
__call__(batch)Apply aligner filters to the given batch
If filters are enabled info log the number of faces filtered
Methods Documentation
- __call__(batch: ExtractBatch) None
Apply aligner filters to the given batch
- Parameters:
batch (ExtractBatch) – The batch object to perform filtering on with the landmarks populated
- Return type:
None
- output_counts() None
If filters are enabled info log the number of faces filtered
- Return type:
None
- __call__(batch: ExtractBatch) None
Apply aligner filters to the given batch
- Parameters:
batch (ExtractBatch) – The batch object to perform filtering on with the landmarks populated
- Return type:
None
- output_counts() None
If filters are enabled info log the number of faces filtered
- Return type:
None