Face_Section is defined inside the for loop but used outside of it as well

This is giving me error that the face_Section is defined inside the loop but is also used outside of it, but not showing an error in the video but showing the error for me

hey @Ak07 ,
that is just due to the face being read .

In your it might haven’t got read , hence shown you error. whereas in video it was perfectly detecting the face and hence it didn’t raised any error.

I hope this helps.