opencv_awesome 0.0.2 copy "opencv_awesome: ^0.0.2" to clipboard
opencv_awesome: ^0.0.2 copied to clipboard

A new Flutter plugin for opencv high level stitching APIs. it support stitching multi images in both and horizontal direction to create panoramic view. easy to use and customize for creating panorama.

Opencv Awesome #

Overview #

A Flutter plugin providing the ability to use opencv native c++ implementation for image stitching in flutter projects. it support stitching multi images in both and horizontal direction to create panoramic view. easy to use and customize for creating panorama.

The plugin is supported for android only and will be extended for ios in future.

Features:

  1. Stitch images using high level stitching APIs of opencv.
  2. Create full panorama by automatically removing overlap region.
  3. Stitch images both in horizontal and vertical direction.
  4. Easily customize to create full panoramic view.

Preview #

alt preview alt preview

prerequisite: #

  1. NDK configuration
  • Add ndk path to your project
  1. Require Opencv SDK
  1. Add media read and write storage permission to your project

installation #

opencv_awesome: ^0.0.2

Usage #


    import 'package:opencv_awesome/opencv_awesome.dart';
  //for horizontal stitching
    await  OpencvAwesome.stitch_horizontally(<List of images paths in left to right direction >, <output image path>,oncompleted);
 void oncompletedHorizontal(dirpath){
    setState(() {
      horizontal_output_path=dirpath;
      _isWorking=false;
    });
  }
  //for vertical stitching
     await  OpencvAwesome.stitch_vertically(<List of images paths in top to bottom direction >, <output image path>,oncompleted);




26
likes
30
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugin for opencv high level stitching APIs. it support stitching multi images in both and horizontal direction to create panoramic view. easy to use and customize for creating panorama.

Homepage
Repository (GitHub)

License

BSD-2-Clause (license)

Dependencies

ffi, flutter

More

Packages that depend on opencv_awesome