When I got the face recognition img, I couldn't put it in the container. Then I found that I needed to add a large paragraph. The code is as follows, please click like
for (mx, my, mw, mh) in mask_face:
img = cv2.rectangle(img, (mx, my), (mx + mw, my + mh