ryouchinsa / Rectlabel-support

RectLabel is an offline image annotation tool for object detection and segmentation.
https://rectlabel.com
504 stars 73 forks source link

Best practise to label roof (ridges) #257

Open nicojany opened 2 months ago

nicojany commented 2 months ago

Dear Rectlabel support team

I'm wondering what would be the best approach to label a roof's ridge. I already labelled a lot of roof areas however, I'm not sure what would be best practise to also label the ridges so that later my model would be able to differentiate:

roof types. So what would be the best technique to highlight what I just draw now manually with my screen capturing tool in pink in RectLabel.

In the end the aim would be that the model identifies the sides of the roof and also the ridge(s).

See pics attached.

Thanks a lot in advance.

Best, Nico identify_ridge drawing_ridges

ryouchinsa commented 2 months ago

Thanks for using RectLabel and giving us your detailed feedback. For the roof ridge, the line/lane detection can be solved by segmentation models including YOLOv5/v8.

LaneNet-Lane-Detection https://github.com/MaybeShewill-CV/lanenet-lane-detection?tab=readme-ov-file

  1. Label a roof quickly using Create polygon using SAM feature.

roof

  1. Label the ridge using Create pixels feature and its brush polygon tool.

ridge_pixels

  1. The pixels mask can be converted to the polygon when exporting the YOLO format.

ridge_polygon