Research Article

How Many Bedrooms Do You Need? A Real-Estate Recommender System from Architectural Floor Plan Images

Algorithm 1

Door gap closing.
Input:  coordinate points of the door gaps
 width of the door gaps
 total number of door gaps
Output: the door gaps are closed and independent rooms can be identified
(1)fordo
(2)fordo
(3)  ifthen
(4)   Link and
(5)  else
(6)   break.