dartcv4 1.0.1 dartcv4: ^1.0.1 copied to clipboard
OpenCV bindings for Dart language. dartcv is for pure dart only, for flutter, please use opencv_core, if you need videoio module, use opencv_dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartcv4
With Flutter:
$ flutter pub add dartcv4
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dartcv4: ^1.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartcv4/calib3d.dart';
import 'package:dartcv4/contrib.dart';
import 'package:dartcv4/core.dart';
import 'package:dartcv4/dartcv.dart';
import 'package:dartcv4/dnn.dart';
import 'package:dartcv4/features2d.dart';
import 'package:dartcv4/gapi.dart';
import 'package:dartcv4/highgui.dart';
import 'package:dartcv4/imgcodecs.dart';
import 'package:dartcv4/imgproc.dart';
import 'package:dartcv4/objdetect.dart';
import 'package:dartcv4/photo.dart';
import 'package:dartcv4/stitching.dart';
import 'package:dartcv4/video.dart';
import 'package:dartcv4/videoio.dart';