agilord / aws_client

High-level APIs for Amazon Web Services (AWS) in Dart
233 stars 104 forks source link

Amazon Rekognition Face Liveness #427

Open tunetolove opened 5 months ago

tunetolove commented 5 months ago

Hello guys!

Thanks for your hard work!

Do you have any plans implementing this cool feature - https://aws.amazon.com/rekognition/face-liveness/

xvrh commented 5 months ago

I think part of the API is already there:

import 'dart:convert';
import 'package:aws_client/rekognition_2016_06_27.dart';

void main() async {
  var api = Rekognition(region: 'eu-west-1');
  var session = await api.createFaceLivenessSession();

  var results = await api.getFaceLivenessSessionResults(sessionId: session.sessionId);
  print('Results: ${jsonEncode(results)}');
}

But we are missing the Amazon rekognition streaming api. I'm not sure how to add it.