Figure 1: User has input the red rectangle. Figure 2: Output

Create a rectangle enclosing some text: Click on the top-left and bottom-right corners
200
200
400
400
600
600
800
800
1000
1000
1200
1200
100
200
300
400
500
600
700
800
900
Figure 1: User has input the red rectangle.
Recursive subdivision is shown in cyan.
100
200
300
400
500
600
700
800
900
Figure 2: Output binarization