Ask Your Question

Revision history [back]

Just count 1 face and draw the rectangle only for that face.

Just count 1 face and draw the rectangle only for that face. Make sure that you actually detected at least once face with facesArray.length>0

Just count 1 face and draw the rectangle only for that face. Make sure that you actually detected at least once face with

facesArray.length>0