Task: Rectangle Detection in Line Images
Task: Rectangle Detection in Line Images: a task in Terminal-Lego-15k (Harbor dataset). Write a Python program that detects and identifies rectangles in a binary image composed of horizontal and vertical lines. The program must handle imperfect line drawings where lines may not perfectly meet at…
The task
Write a Python program that detects and identifies rectangles in a binary image composed of horizontal and vertical lines. The program must handle imperfect line drawings where lines may not perfectly meet at corners (gaps of a few pixels are expected).
Part of PrimeIntellect/Terminal-Lego-15k.