I am working on a problem that extracts rectangular boxes from image and sort those rectangular boxes sequentially. Code that I tried is:
import cv2 import matplo