Commit 4716f87f authored by Yvan Masson's avatar Yvan Masson

When multiple faces are detected, use the last one: it seems to be the right one

most of the time
parent 7e2b58e4
......@@ -248,7 +248,9 @@ with tempfile.TemporaryDirectory() as tempDir:
# or sorted using surnames in CSV
print("namesList: " + str(namesList))
order = sorted(range(len(namesList)), key=lambda k: namesList[k])
print("order: " + str(order))
for i in order:
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