MATLAB Answers


How to recognition of rectangle and counting numbers of rectangle in image

Asked by Junwon Park on 15 Jun 2018 at 6:29
Latest activity Commented on by Junwon Park on 15 Jun 2018 at 8:10


I want to recognition and counting of rectangle in attached image. The 40 rectangles are located in image.

How do i counting and recognition?

Always Thanks.


Sign in to comment.

1 Answer

Answer by Aditya Adhikary on 15 Jun 2018 at 7:54

You may want to use Hough Transform to detect lines , or use the Generalized Hough tranform directly.

  1 Comment

Thanks, Aditya. If can you more help to me? I need MATLAB code.

Sign in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today