Catching reused ID photos with perceptual hashing: dHash in Python for KYC fraud
DEV Community
Catching reused ID photos with perceptual hashing: dHash in Python for KYC fraud
Fraudsters reuse the same ID card photo across many accounts, resized and recompressed. How a perceptual hash (dHash) finds near-duplicates, why you should hash the portrait instead of the whole card, and what cropping and rotation do to the distance. Tested Python with Pillow.
0 comments
No comments yet.