Skip to content

Commit

Permalink
Fixed -- missing links
Browse files Browse the repository at this point in the history
  • Loading branch information
moesaid committed Oct 30, 2024
1 parent ad3a24a commit 1e1453a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## 1.0.0
## 1.0.2

initial release
Fixed -- missing links

## 1.0.1

updated pubspec.yaml for publishing

## 1.0.0

initial release
2 changes: 0 additions & 2 deletions example/lib/Views/Global/build_face_compare_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ class FaceBoundingBoxPainter extends CustomPainter {
for (final matchedFace in faceMatchesResult.matchedFaces!) {
final boundingBox = matchedFace.face?.boundingBox;

print('matched Face : ${matchedFace.toJson()}');

if (boundingBox != null && matchedFace.similarity! > 90) {
final double top = boundingBox.top! * size.height;
final double left = boundingBox.left! * size.width;
Expand Down
7 changes: 1 addition & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ Future<void> main() async {
region: AwsRegionEnum.usEast1,
accessKey: dotenv.env['ACCESS_KEY'] ?? '',
secretKey: dotenv.env['SECRET_KEY'] ?? '',
onVerificationComplete: (FaceMatchesModel faceMatchesModel) {
print({
'❌similarity': faceMatchesModel.matchedFaces?.first.similarity,
'faceMatchesModel': faceMatchesModel,
});
},
onVerificationComplete: (FaceMatchesModel faceMatchesModel) {},
);

runApp(MyApp(sphinxVerify: sphinxVerify));
Expand Down
2 changes: 1 addition & 1 deletion lib/src/Views/sphinx_kyc_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:io';
import 'package:flutter/material.dart';
import 'package:sphinx_verify/sphinx_verify.dart';
import 'package:sphinx_verify/src/Data/Services/kyc_services.dart';
import 'package:sphinx_verify/src/Views/widgets/build_missing_prams_widget.dart';
import 'package:sphinx_verify/src/Views/Widgets/build_missing_prams_widget.dart';

/// sphinx kyc widget
class SphinxKycWidget extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: sphinx_verify
description: Sphinx Verify is a Flutter package that amis to provider a interface to amazon recognition service. with built-in use cases.
homepage: https://github.com/moesaid/SphinxVerify
repository: https://github.com/moesaid/SphinxVerify
version: 1.0.1
version: 1.0.2
screenshots:
- description: "Sphinx Verify is a Flutter package that amis to provider a interface to amazon recognition service. with built-in use cases."
path: marketing/logo.png
Expand Down

0 comments on commit 1e1453a

Please sign in to comment.