I found there is a file named compare.py. can I use the code to compare to picture? How?
yes you can do so.
you just need to give path to the model and image folder.
For example: in the terminal you can type (assuming from the root)
facenet-master$python classify.py pathtothemodel/model.pb pathtoimages/*jpg
Each of the image will be compared against all other images in the folder :)
Hope it might help you
it works well, thank @surajitsaikia27
Do you guys know an efficient way to store the DNN results in a database and calculate distance only for new "incoming" pictures?
Most helpful comment
yes you can do so.
you just need to give path to the model and image folder.
For example: in the terminal you can type (assuming from the root)
facenet-master$python classify.py pathtothemodel/model.pb pathtoimages/*jpg
Each of the image will be compared against all other images in the folder :)
Hope it might help you