在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:josebetomex/FaceRecognition_Ethereum_protocol开源软件地址:https://github.com/josebetomex/FaceRecognition_Ethereum_protocol开源编程语言:Jupyter Notebook 92.2%开源软件介绍:USE_IPFS_TO_STORE_BIOMETRIC_HASHFace Re-Identification Protocol on Ethereum Blockchain
Solidity, Web3, IPFS & TensorFlow & Keras for Face Recognition protocol. Requirements for ML ModelsPython 3.6 Keras six>=1.9.0 TensorFlow > 1 numpy >=1.9.1 scipy >=0.14 h5py pillow pyyaml matplotlib Requirements for IPFSYou must need a IPFS Server running on the local Enviroment How to install IPFS?
Host 127.0.0.1 (Your Host IP) Port 5001 (Your Port) Requirements for SmartContract ExampleSolidity 0.4.16 NodeJS > 6.0 Web3JS How to train the Model?Call BioHash.py from Miner Node Method train_model() Method train(pathDir="Folder path of the biometric data set) Inside pathDir, will be storage all the Biometric dataset for the classifier. Example structure: pathDir/train/biohash{1 ... N}/picture{1 ... N}.jpg pathDir/validation/biohash{1 ... N}/picture{1 ... N}.jpg *** Pre-Trained Weights *** model/vggface_tf_resnet50.h5 How to compare 2 Bio-Hashes ? V1 (Face Only)Call BioHash.py from Miner Node Method compare_biohash( hash1, hash2) where hash1 & hash2 are the biohashes to compare How to compare 2 Bio-Hashes ? V2 (Fingerprint & Face) "Comming Soon ..."Method compare_biohash_multimodal( hash1, hash2) where hash1 & hash2 are the biohashes to compare Smart Contract ExampleBioHashComparation.solSolidity implementation, How to call the Smart Contract to request a comparison using the BioHashfunction validateHash(bytes32 _biohashOriginal, bytes32 _biohashToCompare)
updateBioHashComparationResult(bytes32 _biohashOriginal, bytes32 _biohashToCompare, bool isMatch)
WEB3 JS Example, Call to the SmartContract using Web3JSSmartContractAPI.jsWeb3 example in how to request a call to the smart contract |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论