AI, Technology, Life, Life Lessons, Artificial Intelligence.
(x+width, y+height), (0, 255, 0), 2) cv2.rectangle(unknown_image, (x, y-30), (x+width, y), (0, 255, 0), cv2.FILLED) cv2.putText(unknown_image, name, (x+6, y-6), cv2.FONT_HERSHEY_SIMPLEX, 1.0, (255, 255, 255), 1) # Display the resulting image cv2_imshow(unknown_image) Explanation: This script