You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exact same trained image does not match when I compare it with compare_faces and euclidean distance.
my code is below
@app.route('/compare', methods=['POST'])
def compare_faces():
# Check if an image is uploaded
if 'image' not in request.files:
return jsonify({"error": "No image uploaded"}), 400
Description
Image comparison not working as expected.
What I Did
https://gist.github.com/ageitgey/ddbae3b209b6344a458fa41a3cf75719
I was generating 128d by using the steps in the above link.
labels.csv
reps.csv
The exact same trained image does not match when I compare it with compare_faces and euclidean distance.
my code is below
@app.route('/compare', methods=['POST'])
def compare_faces():
# Check if an image is uploaded
if 'image' not in request.files:
return jsonify({"error": "No image uploaded"}), 400
Please assist me in fixing it.
The text was updated successfully, but these errors were encountered: