getCapabilities method

  1. @override
Future<Map<String, dynamic>> getCapabilities()
override

Implementation

@override
Future<Map<String, dynamic>> getCapabilities() async {
  return {
    'platform': 'web',
    'gaze_tracking': _webGazerLoaded,
    'eye_state_detection': false, // To be implemented with MediaPipe
    'head_pose_estimation': false, // To be implemented with MediaPipe
    'multiple_faces': false, // To be implemented with MediaPipe
    'calibration': _webGazerLoaded,
    'background_tracking': false,
    'max_faces': 1,
    'accuracy_modes': ['high', 'medium', 'fast'],
    'webgazer_loaded': _webGazerLoaded,
    'webgazer_started': _webGazerStarted,
  };
}