Padding before slicing the face

In this video before slicing the face out of the frame,Prateek
Bhaiya does padding.Why he did it and is it compulsory to
do padding ?

Hey @sriyash2k, the face classifier used, provides rectangular box aroung face which do not include, hairs upper neck etc, so bhayia just added a little offset in four directions, its like when you want to sew from a canvas you take a little margins for safety.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

side effects of applying vicks on hair