ristri / edge_detection

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

Home Page:https://pub.dev/packages/edge_detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://pub.dev/packages/edge_detection

License:Apache License 2.0


Languages

Language:Kotlin 79.6%Language:Swift 7.9%Language:Ruby 6.6%Language:Dart 5.2%Language:Objective-C 0.7%