Skip to content

This is a flutter plugin to detect edges in a live camera, take the picture of detected edges object, crop it, and save.

License

Notifications You must be signed in to change notification settings

romaingyh/edge_detection

 
 

Repository files navigation

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

About

This is a flutter plugin to detect edges in a live camera, take the picture of detected edges object, crop it, and save.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Kotlin 78.2%
  • Swift 8.9%
  • Ruby 7.4%
  • Dart 4.7%
  • Objective-C 0.8%