Skip to content

nWacky/edge_detection

 
 

Repository files navigation

Edgedetection with Dart

This package is able to detect edges on an image file. Currently there are the Soble, Scharr and Laplace-Operator available. Feel free to open an issue for any problems or new operators or new functionality.

Example

import 'dart:io';
import 'package:image/image.dart' as img;
import 'package:image_edge_detection/functions.dart';

void main() async {

  // Read an image from file
  final imageFile = File("test.png");

  //Transfrom the Image and get the Result
  final result = await det.applySobelOnFile(imageFile);

  //Write result back to the original File
  imageFile.writeAsBytes(img.encodePng(result));


  //Display image as Widget
  // Image.file(imageFile)
}
Original Image Applied Sobel-Operator

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 41.1%
  • CMake 35.6%
  • Dart 14.3%
  • HTML 3.6%
  • C 2.8%
  • Swift 2.3%
  • Other 0.3%