Added code to detect faces
Fix thread sleep
commit d902f6efc6da12f88