这是indexloc提供的服务,不要输入任何密码

face_recognition_auth 1.0.2 copy "face_recognition_auth: ^1.0.2" to clipboard
face_recognition_auth: ^1.0.2 copied to clipboard

A powerful Flutter package that provides secure, reliable face recognition authentication using TensorFlow Lite and Google ML Kit. Implement face-based authentication in your Flutter apps with real-ti [...]

1.0.2 #

🚀 New Features #

  • Database-Only Operations: Lightweight database operations without camera initialization
  • Fast Database Setup: Implemented initializeDatabaseOnly() method for rapid database access
  • Bulk Operations: Added deleteAllUsers() method for complete database cleanup
  • Performance Boost: Database operations now 10-50x faster than full initialization

🔧 Core Improvements #

  • Separate Initialization Flags: Added _dbInitialized flag for database-only operations
  • Enhanced Classes: Updated FaceAuthController, FaceAuth, and FaceAuthIsolate classes
  • Resource Efficiency: No ML models or camera services loaded for database operations
  • Memory Optimization: Reduced memory footprint for database-only usage

🛡️ Safety & Stability #

  • Disposal Safety: Fixed controller usage after disposal to prevent runtime errors
  • Comprehensive Checks: Added disposal validation across all public methods
  • Async Safety: Implemented proper cleanup to prevent async operation conflicts
  • State Protection: Added isDisposed getter for external disposal state checking
  • Error Prevention: Enhanced error handling for disposed controller operations
  • Resource Management: Fixed previewSize getter to handle disposed state gracefully

📚 Documentation & Examples #

  • Comprehensive Guide: Created DATABASE_ONLY_USAGE.md with detailed usage patterns
  • API Reference: Updated README with new feature documentation
  • Usage Examples: Added practical examples for database-only operations
  • Best Practices: Documented when to use database-only vs. full initialization

🎯 Use Cases #

  • User Management: Perfect for user existence checks and user list management
  • Administrative Tasks: Ideal for background services and settings screens
  • Performance Critical: Excellent for applications requiring fast database access
  • Resource Constrained: Suitable for environments with limited camera/ML resources

1.0.1 #

  • Added User ID Management: Custom user ID support with duplicate checking
  • Enhanced Database Operations: Complete CRUD operations for user management
  • Improved Registration Flow: Better face registration with user ID validation
  • Updated Database Schema: Changed from INTEGER to TEXT for user IDs
  • Added User Existence Checking: Methods to check, get, and delete users
  • Enhanced API: Added comprehensive database helper methods
  • Improved Documentation: Updated README with complete API documentationgit
  • Added Tests: Comprehensive testing for new database functionality
  • Fixed userId parameter handling in registration flow
  • Enhanced error handling and validation

1.0.0 #

  • Initial release of face_recognition_auth package
  • Implemented face recognition authentication using TensorFlow Lite
  • Added Google ML Kit integration for face detection
  • Created FaceAuthController for easy state management
  • Added FaceAuthView for camera preview and face detection
  • Implemented user registration and authentication flows
  • Added SQLite database for storing face embeddings
  • Included example app demonstrating usage
  • Added comprehensive documentation and README

0.0.1 #

  • TODO: Describe initial release.
3
likes
0
points
144
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful Flutter package that provides secure, reliable face recognition authentication using TensorFlow Lite and Google ML Kit. Implement face-based authentication in your Flutter apps with real-time face detection and a clean, customizable UI.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

camera, flutter, google_mlkit_commons, google_mlkit_face_detection, image, path, path_provider, provider, sqflite, tflite_flutter

More

Packages that depend on face_recognition_auth