| class info |
| com.huawei.hms.mlsdk.face.MLMaxSizeFaceTransactor.Creator |
| Creates an instance of the largest face processor. |
| Constructor name |
| Creator(MLAnalyzer<MLFace> analyzer, MLResultTrailer<MLFace> trailer) Constructor. |
| Return type | Method name |
| MLMaxSizeFaceTransactor | create() |
| MLMaxSizeFaceTransactor.Creator | setMaxFrameLostCount(int maxFrameLostCount) |
| Method |
| public Creator(MLAnalyzer<MLFace> analyzer, MLResultTrailer<MLFace> trailer) |
| Constructor. |
Parameters
| Parameter name | Parameter desc |
| analyzer | Face analyzer. |
| trailer | Result tracker, which is used to process the largest recognized face. |
| Method |
| public MLMaxSizeFaceTransactor create() |
| Creates an instance of the largest face processor. |
Return
| Type | desc |
| MLMaxSizeFaceTransactor | Returns the instance of MLProminentFaceTransactor. |
Parameters
| Parameter name | Parameter desc |
| maxFrameLostCount | Maximum number of frames for determining that a face disappears. |
Return
| Type | desc |
| MLMaxSizeFaceTransactor.Creator | Returns the instance of MLProminentFaceTransactor.Creator. |