Bounding box pls explain it sir

why take opposite co-odinate x+w,y+h

This is because, in cv2.rectangle(image, start_point_coordinates, end_point_coordinates, color,thickness),
Start point refers to the x and y coordinate of face_section, and for end point we have to take diagonally opposite point to the starting point, and hence we add w to x coordinate and h to y coordinate to get the required diagonally opposite point.
Hope this helped you. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.