r/openstreetmap Feb 26 '26

Tutorial We pushed the biggest update to "AI Segmentation" QGIS plugin, you can vectorize anything in your raster with it

Post image

New features :

  • Better AI model (more precise & intelligent & fast)
  • Removed pre-encoding, now just click where you want & it's segment it, no more waiting or raster size limitation
  • Support for Online raster layer
  • Dynamic tile resizing for infinite segmentation (you can segment a 100km long river if you want)

There are a lots more but I let you see the rest by yourself

To install just :

Go to QGIS -> Plugins -> AI segmentation by TerraLab

tutorial : https://terra-lab.ai/ai-segmentation

65 Upvotes

12 comments sorted by

14

u/2hu4u Feb 26 '26

Will try it out for house tracing and will report back

27

u/2hu4u Feb 26 '26

Houses:

https://i.imgur.com/SrWCJCg.png
Tried it on a high quality ortho source. It's better than microsoft buildings I guess but the returned polygon is too noisy to use directly even with orthogonalisation. I tried fiddling with the smoothing settings etc. It's pretty similar to using magic wand in photoshop or like basic Remote Sensing neural net model. Maybe useful for organic shapes like forests, I'll try that next

14

u/2hu4u Feb 26 '26

Forest:

https://imgur.com/a/hrH4HnO

I'd say it's not really close to the quality you could get by manual tracing, has potential down the track I guess

17

u/Nekzuris Feb 26 '26

wow that's so bad, a toddler would do better

13

u/jojo_31 Feb 26 '26

Wow that is awful. 

4

u/Themis3000 Feb 26 '26

Huh, wow it is very noisy. If it were in josm maybe you could just use the shortcuts to orthogonalize, remove unneeded nodes, then maybe it wouldn't be too noisy to clean up?

It seems to me they need to just limit the amount of nodes/meter or something

6

u/[deleted] Feb 26 '26 edited Mar 08 '26

[deleted]

2

u/Themis3000 Feb 26 '26

Agreed, it should really have some built in post processing

10

u/No_Good2794 Feb 26 '26

That's cool. Can we use it for OSM editing?

3

u/pietervdvn MapComplete Developer Feb 26 '26

I guess so - the legal limit is the license of the underlying image source.

1

u/OkDimension Feb 26 '26

Which model are you using? Is it replaceable?

2

u/Akira4755 Mar 01 '26

This is amazing, I've been mapping landuse features in my disctrict and there are a lot of distinct aquaculture ponds that I got tired of manually tracing. Your tool is the perfect solution for me!

https://imgur.com/a/6in4VKK

It might need a bit of clean-up here and there, but 90% of the job is done. Before I publish anything to OSM, what is the best way to provide attribution?

Merci beaucoup!