setCalibrationData method
Sets the calibration data to the SeeSo SDK for calibration refinement.
Use this function to provide the SeeSo SDK with previously collected calibration data for calibration refinement or adjustment.
The data
parameter should be a list of doubles containing the calibration data.
Returns:
true
if the calibration data is successfully set.false
if the calibration data setting fails.null
if an error occurs during the data setting process.
Note: Before calling this function, make sure the gaze tracker has been properly initialized and camera permission is granted. Otherwise, a PlatformException may be thrown.
Implementation
Future<bool?> setCalibrationData(List<double> data) async {
return SeeSoPlatform.instance.setCalibrationData(data);
}