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

A flutter plugin for face detection using OpenCV and Haar Cascades.

haarcascade #

A Dart package for detecting objects in images using Haarcascade and OpenCV.

Features #

  • Detect faces in images

Getting started #

To use this package, add haarcascade as a dependency in your pubspec.yaml file.

dependencies:
  haarcascade: ^0.0.2

Then import the package in your Dart code.

import 'package:haarcascade/haarcascade.dart';

Usage #

Here is an example of how to use the package to detect faces in an image.

// 1) Load the Haar Cascade data
final cascade = await Haarcascade.load();

// 2) Load the image
final image = File('path/to/image.jpg');

// 3) Detect faces
final faces = cascade.detect(image);
2
likes
160
points
42
downloads

Publisher

verified publishermobile-artificial-intelligence.com

Weekly Downloads

A flutter plugin for face detection using OpenCV and Haar Cascades.

Repository (GitHub)

Topics

#flutter #opencv #haarcascade #face-detection #facial-recognition

Documentation

API reference

License

MIT (license)

Dependencies

flutter, opencv_dart, path_provider

More

Packages that depend on haarcascade