Search packages, repositories and app categories

sphinx_verify cover
Package detailsv1.0.3

sphinx_verify

Sphinx Verify is a Flutter package that amis to provider a interface to amazon recognition service. with built-in use cases.

AndroidiOSmacOSWindowsLinux
30-day downloads
30
Likes
5
Pub points
150

Install package

flutter pub add sphinx_verify

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Sphinx Verify is a Flutter package designed to integrate Amazon's recognition services into Flutter applications, offering a streamlined interface for machine learning, OCR, and computer vision tasks. It provides built-in use cases to simplify common workflows like document scanning, facial recognition, and text extraction. The package supports multiple platforms including Android, iOS, macOS, Windows, and Linux, enabling cross-platform development with consistent functionality. Developers can leverage Amazon’s powerful backend services through a clean, Dart-friendly API.

Use cases

  • Document verification
  • Facial recognition
  • Text extraction from images
  • Identity authentication
  • Real-time image analysis
  • Automated data entry

Key features

  • Built-in integration with Amazon recognition services
  • Cross-platform support
  • Predefined use cases for rapid implementation
  • Simple Dart API
  • Secure cloud-based processing
  • Real-time results

Suitable for

  • Mobile apps requiring identity verification
  • Document scanning applications
  • OCR-heavy enterprise tools
  • Apps needing facial recognition
  • Developers using Amazon AWS services

Considerations

  • Requires internet connection for cloud processing
  • Depends on Amazon AWS service availability
  • May incur cloud service costs
  • Needs proper AWS credentials configuration
  • Limited offline functionality
  • Potential latency in real-time responses

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Sphinx Verify logo

pub package License: MIT

Sphinx Verify

Sphinx Verify is a Flutter package that amis to provider an interface to amazon recognition service. with built-in use cases.

More demo images


Features 🚀

  • ✅ Text Detection
  • ✅ Face Detection
  • ✅ Label Detection
  • ✅ content Moderation
  • ✅ compare Faces

use cases

  • ✅ ( KYC flow ) Verify a user by comparing a selfie with a document photo ( driving license )

Installation 💻

❗ In order to start using Sphinx Verify you must have the Fkutter installed on your machine.

Install via flutter pub add:

flutter pub add sphinx_verify

Install via pubspec.yaml:

dependencies:
  sphinx_verify: ^0.1.0

Usage 📖

import 'package:sphinx_verify/sphinx_verify.dart';

/// initialize the sphinx verify
SphinxVerify sphinxVerify = SphinxVerify(
    region: AwsRegionEnum.usEast1 <- adjust to your region,
    accessKey: 'your access key',
    secretKey: 'your secret key',
    onVerificationComplete: (FaceMatchesModel faceMatchesModel) {
        print({
        '❌similarity': faceMatchesModel.matchedFaces?.first.similarity,
        'faceMatchesModel': faceMatchesModel,
        });
    },
);

/// exposed methods

// detect labels
LabelDetectionModel? res = await widget.sphinxVerify.awsSDK.detectLabels(
    file: _imageFile,
    imageUrl: _imageUrl,
);

// detect text
List<TextDetectionModel>? res = await widget.sphinxVerify.awsSDK.detectText(
    file: _imageFile,
    imageUrl: _imageUrl,
);

// detect faces
List<FaceDetectionModel>? res = await widget.sphinxVerify.awsSDK.detectFaces(
    file: _imageFile,
    imageUrl: _imageUrl,
);

// compare faces
FaceMatchesModel? res = await widget.sphinxVerify.awsSDK.compareFaces(
    sourceImageFile: _imageFile,
    sourceImageUrl: _imageUrl,
    targetImageFile: _targetImageFile,
    targetImageUrl: _targetImageUrl,
    similarityThreshold: 90,
);

// moderate content
ModerateContentModel? res = await widget.sphinxVerify.awsSDK.moderateContent(
    file: _imageFile,
    imageUrl: _imageUrl,
    minConfidence: 5,
);

KYC flow

import 'package:flutter/material.dart';
import 'package:sphinx_verify/sphinx_verify.dart';

class KycPage extends StatelessWidget {
  const KycPage({super.key, required this.sphinxVerify});
  final SphinxVerify sphinxVerify;

  @override
  Widget build(BuildContext context) {
    return sphinxVerify.kycWidget;
  }
}

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package

No data available yet.