How mandavavasanth/face_recognization works
FaceVerify is a command-line identity-verification pipeline: a user supplies an image, the CLI extracts a face embedding and crop, searches for a likely identity, then submits a proof and source URL for blockchain notarization. The graph separates face analysis, identity search, and notarization, with the CLI as the orchestration layer. The README documents the contract’s on-chain role; its implementation was not sampled, so that relationship is documented rather than inferred from Solidity source.
Main entry points: main.py Pipeline CLI · face_detect.py Face detection · reverse_search.py Identity search · blockchain.py Proof submission
Components 12
Face analysis
- Face detection
stages/face_detect.py - Proof hash
main.py - Face crop
Identity search
- Identity search
stages/reverse_search.py - SerpApi / Lens
- Selected match
Blockchain notarization
- Proof submission
stages/blockchain.py - ProofRegistry
contracts/ProofRegistry.sol - Polygon Amoy
- On-chain proof
Other components
- CLI user
- Pipeline CLI
main.py
Connections 12
- CLI user → Pipeline CLI: provides image
README.md - Pipeline CLI → Face detection: calls detection
main.py - Face detection → Pipeline CLI: returns embedding
stages/face_detect.py - Face detection → Face crop: saves crop
stages/face_detect.py - Pipeline CLI → Proof hash: hashes embedding
main.py - Pipeline CLI → Identity search: searches crop
main.py - Identity search → SerpApi / Lens: uploads and queries
stages/reverse_search.py - Identity search → Selected match: selects match
stages/reverse_search.py - Pipeline CLI → Proof submission: submits proof
main.py - Proof submission → Polygon Amoy: sends transaction
stages/blockchain.py - Proof submission → ProofRegistry: calls registerProof
stages/blockchain.py - ProofRegistry → On-chain proof: records proof
README.md