搜尋套件、儲存庫與 APP 分類

sphinx_verify 封面
套件詳情v1.0.3

sphinx_verify

Sphinx Verify 是一個 Flutter 套件,旨在為 Amazon 識別服務提供介面,並內建使用案例。

AndroidiOSmacOSWindowsLinux
近 30 天下載
30
喜歡數
5
Pub 分數
150

安裝套件

flutter pub add sphinx_verify

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Sphinx Verify 是一個專為 Flutter 應用程式設計的套件,旨在將亞馬遜的識別服務整合至 Flutter 應用中,提供用於機器學習、OCR 和電腦視覺任務的簡化介面。它內建多種使用案例,可簡化常見的工作流程,如文件掃描、人臉辨識與文字擷取。該套件支援 Android、iOS、macOS、Windows 及 Linux 多個平台,實現跨平台開發並保持功能一致。開發者可透過乾淨、符合 Dart 風格的 API 輕鬆運用亞馬遜強大的後端服務。

適用情境

  • 文件驗證
  • 人臉辨識
  • 從圖像中提取文字
  • 身份驗證
  • 即時影像分析
  • 自動數據輸入

主要特色

  • 與亞馬遜識別服務的內建整合
  • 跨平台支援
  • 預定義的快速實施用例
  • 簡單的 Dart API
  • 安全的基於雲的處理
  • 即時結果

適合對象

  • 需要身份驗證的移動應用
  • 文件掃描應用
  • OCR密集型企業工具
  • 需要面部辨識的應用程式
  • 使用 Amazon AWS 服務的開發人員

使用建議

  • 需要互聯網連接以進行雲處理
  • 取決於 Amazon AWS 服務的可用性
  • 可能會產生雲端服務費用
  • 需要正確配置 AWS 憑證
  • 有限的離線功能
  • 即時回應中的潛在延遲

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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;
  }
}

所屬分類

依賴

依賴清單 6 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。