find-edge-in-rectangle import cv2, numpy and math libraries. NOT: hsv value range of this code is set for yellow.