When I scan the OMR sheet to detect contours it is not detecting all rectangles. steps as below: Loading color image Convert to gray and resize Blur the image using GaussianBlur Edge detection using Canny Finding contours Visualizing the results But it is not showing all rectangles. can anyone help me to resolve this issue. Attached OMR sheet for reference: Continue reading...