A flutter plugin to detect edges of objects, scan paper, detect corner, detect rectangle. It allows cropping of the detected object image and returns the path of the cropped image.
Please check the latest version before installation.
dependencies:
flutter:
sdk: flutter
edge_detection: ^1.0.5
import 'package:edge_detection/edge_detection.dart';
//Make sure to await the call to detectEdge.
String imagePath = await EdgeDetection.detectEdge;
Using these native implementation
https://github.com/WeTransfer/WeScan