AlignedFilter

class lib.infer.align.AlignedFilter(enabled: bool)

Bases: object

Applies filters to the output of the aligner

Parameters:

enabled (bool) – True to enable filters. False to disable

Methods Summary

__call__(batch)

Apply aligner filters to the given batch

output_counts()

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