facecore 0.3.0 copy "facecore: ^0.3.0" to clipboard
facecore: ^0.3.0 copied to clipboard

Self-contained Flutter plugin for camera-based face liveness, depth, and anti-spoof checks before capturing a photo on Android and iOS.

0.2.0 #

  • Add Facecore.hasDepthCamera({CameraLens lens}) to query whether the selected lens has a hardware depth sensor (TrueDepth / LiDAR on iOS, DEPTH_OUTPUT camera on Android). Use it to choose between fail-closed and fail-open behaviour at runtime.
  • Add Facecore.captureWithAntiSpoof — a generic anti-spoof capture flow on either lens (front or back) with a shutter button gated by real-time signals.
  • Anti-spoof signals: 2D-FFT moiré detection, row-mean refresh-banding detection, parallax-based depth proxy (with real AVDepthData on TrueDepth / LiDAR iOS devices), and rectangular screen-edge detection.
  • AntiSpoofConfig.requireDepthHardware toggles fail-closed vs fail-open behaviour on devices without a depth sensor.
  • New AntiSpoofConfig / AntiSpoofResult / CameraLens types exported from package:facecore/facecore.dart.

0.1.0 #

  • Initial public release.
  • Native liveness capture flow on Android (CameraX + ML Kit Face Detection) and iOS (AVFoundation + Vision).
  • Configurable liveness actions: blink, turn left, turn right.
  • Optional depth-based anti-spoof check.
  • Returns a FaceCaptureResult with the captured JPEG path, dimensions, motion standard deviation, and depth range.
0
likes
0
points
58
downloads

Publisher

unverified uploader

Weekly Downloads

Self-contained Flutter plugin for camera-based face liveness, depth, and anti-spoof checks before capturing a photo on Android and iOS.

Repository
View/report issues

Topics

#face-detection #liveness #camera #biometrics #anti-spoofing

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on facecore

Packages that implement facecore