Spaces:
Runtime error
Runtime error
| title: Raster2Seq | |
| emoji: 🏠 | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: docker | |
| pinned: false | |
| app_port: 7860 | |
| # Raster2Seq - Floor Plan Vectorization | |
| Upload a floor plan image to detect room polygons and their semantic labels. | |
| This Space runs the Raster2Seq model for converting raster floor plan images into vectorized polygon sequences with room type classification. | |
| ## API Usage | |
| This Space exposes a Gradio API. You can call it programmatically: | |
| ```python | |
| from gradio_client import Client | |
| client = Client("AGLO-AI/raster2seq") | |
| result = client.predict( | |
| image="path/to/floorplan.png", | |
| api_name="/predict" | |
| ) | |
| ``` | |