onFaceDetectResult method
@detail callback
@author wangjunlin.3182
@brief Callback of the result of face detection with Effect SDK.
After calling enableFaceDetection:withInterval:withModelPath:{@link #ByteRTCVideoEffect#enableFaceDetection:withInterval:withModelPath} and using the Effect SDK integrated in the RTC SDK, you will receive this callback.
@param result Face detection result. See ByteRTCFaceDetectionResult{@link #ByteRTCFaceDetectionResult}.
Implementation
FutureOr<void> onFaceDetectResult(ByteRTCFaceDetectionResult result) async {}