order to detect the face a rectangle is plo face by using region properties s = regionprops (L, imbw1,{'Centroid','Area','Boundingbox'}) Bounding box create a box around the face de Following is the result of face detection.
order to detect the face a rectangle is ploface by using region propertiess = regionprops (L, imbw1,{'Centroid','Area','Boundingbox'})Bounding box create a box around the face deFollowing is the result of face detection.