takePhoto method

Future<void> takePhoto({
  1. double? minContourArea,
})

Taking the photo

Then find the contour with the largest area only when it exceeds minContourArea

minContourArea is default 80000.0

Implementation

Future<void> takePhoto({
  double? minContourArea,
}) async {
  _appBloc.add(
    AppPhotoTaken(
      minContourArea: minContourArea,
    ),
  );
}