poseEstimationSeviceProvider top-level property

FutureProvider<PoseEstimationService> poseEstimationSeviceProvider
final

Implementation

final poseEstimationSeviceProvider =
    FutureProvider<PoseEstimationService>((ref) async {
  final poseEstimationService = PoseEstimationService(
    NativeHandler.instance,
  );
  await poseEstimationService.loadModel();

  return poseEstimationService;
});