Untitled
unknown
plain_text
3 years ago
422 B
7
Indexable
image_to_cropp = image[y_final_img:y_final_img+h_bbox,
x_final_img:x_final_img+w_bbox]
shape1img,shape2img,_ = np.array(image_to_cropp).shape
shape1cropp,shape2cropp,_ = cropped.shape
cropped = cropped[:shape1img,:shape2img]
image[y_final_img:y_final_img+h_bbox,
x_final_img:x_final_img+w_bbox] = croppedEditor is loading...