Commit fb7416b7 authored by tihmels's avatar tihmels

Preprocessed image wird ins Bild projiziert

parent 8f47806c
...@@ -53,10 +53,10 @@ def show_webcam_and_run(model, emoticons, window_size=(600, 600), window_name=pa ...@@ -53,10 +53,10 @@ def show_webcam_and_run(model, emoticons, window_size=(600, 600), window_name=pa
while True: while True:
for normalized_face in extract_faces(frame, resizefactor): for normalized_face in extract_faces(frame, resizefactor):
# prediction = model.predict(normalized_face) # do prediction prediction = model.predict(normalized_face) # do prediction
# Save the Predictions # Save the Predictions
# buffer.append(prediction[0]) buffer.append(prediction[0])
# Get the entries as an array # Get the entries as an array
predictions = buffer.get() predictions = buffer.get()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment