edge_detection 1.0.5

Flutter Android iOS

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.

edge_detection #

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.

Usage: #

Add dependency´╝Ü #

Please check the latest version before installation.

dependencies:
  flutter:
    sdk: flutter
  edge_detection: ^1.0.5

Add the following imports to your Dart code: #

import 'package:edge_detection/edge_detection.dart';

//Make sure to await the call to detectEdge.
String imagePath = await EdgeDetection.detectEdge;

Demo #

Demo

Screenshots #

Android #

iOS #

Using these native implementation
https://github.com/WeTransfer/WeScan

https://github.com/KePeng1019/SmartPaperScan

48
likes
90
pub points
86%
popularity

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.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sawankumarbundelkhandi@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on edge_detection