# resumeDetection method

Future<void> resumeDetection()

Resumes camera preview and face detection.

This will resume the camera preview and restart processing frames for face detection after being paused.

## Implementation

    Future<void> resumeDetection() async {
      if (_onResumeDetection != null) {
        await _onResumeDetection!();
      } else {
        debugPrint(
          'LivenessCheckController: Resume callback not registered. '
          'Make sure the controller is attached to LivenessCheckScreen.',
        );
      }
    }