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

At FaceTagr, we are pioneers in advanced face recognition technology, delivering solutions that are accurate, reliable, and scalable. Our NIST-tested algorithms, with 99.91% accuracy, ensure that our [...]

FaceTagr Flutter Package #

The FaceTagr Flutter package allows third-party teams to integrate face recognition capabilities into their applications. This package provides two primary functions: initialization (init) and face matching (fnFaceMatch).

Installation #

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get)

dependencies:
  facetagr_package: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it #

Now in your Dart code, you can use:

import 'package:facetagr/facetagr.dart';
import 'package:camera/camera.dart';

Implementation init function #

final faceTagr = FaceTagr();

faceTagr.init(
apiURL: 'https://yourapiurl.com',
clientID: 'yourClientID',
externalID: 'yourExternalID',
hashcode: 'yourHashcode',
utcTime: DateTime.now().toUtc().toString(),
requestID: Uuid().v4(),
);

Implementation open Facetagr camera #

This code pushes a new route onto the navigation stack, displaying the FaceTagrLivePreview widget. It uses MaterialPageRoute for the transition.

Navigator.of(context).push(
MaterialPageRoute(
builder: (_) => const FaceTagrLivePreview(),
),
);

Implementation Logout function #

To logout and clear all stored tokens, call the fnLogout method:

await faceTagr.fnLogout();

Listening to Events #

You can listen to initialization and face match events using the provided streams:


faceTagr.initStream.listen((message) {
print('Init Event: $message');
});

faceTagr.faceMatchStream.listen((message) {
print('Face Match Event: $message');
});

License #

FaceTagr

0
likes
0
points
159
downloads

Publisher

unverified uploader

Weekly Downloads

At FaceTagr, we are pioneers in advanced face recognition technology, delivering solutions that are accurate, reliable, and scalable. Our NIST-tested algorithms, with 99.91% accuracy, ensure that our technology meets the highest global standards for identity verification and security.

Homepage

License

unknown (license)

Dependencies

crypto, device_info_plus, dio, flutter, flutter_secure_storage, image, uuid

More

Packages that depend on facetagr

Packages that implement facetagr