{"id":15629737,"url":"https://github.com/cansik/architectural-floor-plan","last_synced_at":"2025-04-06T22:07:49.673Z","repository":{"id":79717766,"uuid":"69436030","full_name":"cansik/architectural-floor-plan","owner":"cansik","description":"AFPlan is an architectural floor plan analysis and recognition system to create extended plans for building services.","archived":false,"fork":false,"pushed_at":"2021-10-29T09:42:40.000Z","size":219592,"stargazers_count":334,"open_issues_count":5,"forks_count":80,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-03-30T20:11:45.552Z","etag":null,"topics":["dwg","floorplans","image-classification","polygon","recognition"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cansik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-09-28T07:10:46.000Z","updated_at":"2025-03-30T16:14:08.000Z","dependencies_parsed_at":"2023-05-15T11:45:13.759Z","dependency_job_id":null,"html_url":"https://github.com/cansik/architectural-floor-plan","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cansik%2Farchitectural-floor-plan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cansik%2Farchitectural-floor-plan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cansik%2Farchitectural-floor-plan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cansik%2Farchitectural-floor-plan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cansik","download_url":"https://codeload.github.com/cansik/architectural-floor-plan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dwg","floorplans","image-classification","polygon","recognition"],"created_at":"2024-10-03T10:28:26.135Z","updated_at":"2025-04-06T22:07:49.656Z","avatar_url":"https://github.com/cansik.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automatic analysis and simplification of architectural floor plans [![Build Status](https://travis-ci.org/cansik/architectural-floor-plan.svg?branch=master)](https://travis-ci.org/cansik/architectural-floor-plan) [![codebeat badge](https://codebeat.co/badges/244f2179-f84e-4a39-8943-3285d0cf8337)](https://codebeat.co/projects/github-com-cansik-architectural-floor-plan) [![DOI](https://zenodo.org/badge/69436030.svg)](https://zenodo.org/badge/latestdoi/69436030)\nThis software is an architectural floor plan analysis and recognition system to create extended plans for building services.\n\n## Abstract\nThe goal of this work is to do a fast and robust room detection on floor plans. The idea is, that a wide range of non standardized floor plans can be analyzed, time efficient, with little drawbacks in its precision.\nThe used workflow consists of several algorithms, that are combined to deliver the expected result. It consists of *Morphological cleaning* for noise removal, *Machine Learning* and *Convex Hull closing* for gap closing and a *Connected Component analysis* for the final room detection. It is the best result out of different approaches that were tested. All of the algorithms used, use an image of a plan  as the start for detection and return the location and size of each room as a CSV-table or SVG-vectors. The software is prepared to return the rooms as a DWG- or DXF-Format for a CAD-Program, but the license for a library, to convert the format, is not finally evaluated. The algorithm implemented, shows improvement in room detection accuracy, compared to similar works done in the last few years.\n\n![Afpars](readme/afpars.jpg)\n\n## Run the application\nThe software is still a prototype and not packaged into an executable. To run the software, you have to run the following command:\n\n```bash\ncd afpars\n\n# unix / macOS\n./gradlew run\n\n# windows\ngradlew.bat run\n```\n\n## Development prerequisites\nFor development on the existing project, you have to install a modern Java Development Kit (`\u003e=11`). OpenJDK is supported!\n\nThe project itself can be built with the [gradle build tool](https://gradle.org/).\n\n```bash\ncd afpars\n\n# unix / macOS\n./gradlew build\n\n# windows\ngradlew.bat build\n```\n\n\n## About\n*FHNW Bachelor Computer Science*\n\n*Alexander Wyss and Florian Bruggisser*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcansik%2Farchitectural-floor-plan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcansik%2Farchitectural-floor-plan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcansik%2Farchitectural-floor-plan/lists"}