Skip to content

Add Robustness to Actual Face Detection#6

Open
Jhruzik wants to merge 1 commit into
JeeveshN:masterfrom
Jhruzik:master
Open

Add Robustness to Actual Face Detection#6
Jhruzik wants to merge 1 commit into
JeeveshN:masterfrom
Jhruzik:master

Conversation

@Jhruzik

@Jhruzik Jhruzik commented Aug 29, 2020

Copy link
Copy Markdown

Whenever the detect_faces function encounters an error inside the for loop, it might happen that it gets stuck in the wrong directory. As soon as the loop reaches the next iteration, it can't find the correct data since it is in the wrong directory.

This PR introduces a try-except clause which makes sure, that it is inside the correct directors after every iteration.

Also, I fixed the indentation.

Added robustness and fixed indentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant