-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildings Instance Segmentation Support #6
Comments
Hi @sharoseali |
hi @AlbughdadiM Well I have tried to apply automatic segmentation again carefully. But getting the same results. It draws one big polygon on the area. Also, I tried Foreground and background pixels but got the same output. Here is the tiff file link. For image scaling, I don't think so we have any implementation code that extracts tile from ROI and rescales it. |
hi @sharoseali
I cropped part of the image and performed automatic and prompt segmentation as you can see in the following screenshots ![]() ![]() ![]() |
I see did you update the code also in sam utils? OR I have used dashboard wrongly ? |
only minor changes to handle data types when creating the PNG but this doesn't affect the segmentation as the GeoTiff image is directly used for that |
I have checked same Tiff image using Sam Geo library. It has given very good results without cropping or changing tiff to PNG. I also created GeoJSON and map on QGIS. Its working correctly for the whole image. Normally it loose accuracy if we give very huge tile to it. May be need some more operations to handle all size imagery in your implementation. Will try to compare the codes. |
The PNG is only to overlay on the map but not used for segmentation. |
HI @AlbughdadiM I have opened another issue as the topic is different.
I've opened another issue since the topics are different.
Previously, I worked on SAM Geo, where we can segment buildings. In that context, SAM can easily detect buildings without requiring explicit foreground inputs. However, in this case, the output is quite different. After applying Zoom and drawing the ROI, the result is a single polygon. I also tried using the SAM L and SAM H models.
Do I need to adjust any specific settings in the code? Also tiff imagery appearance is quite bright as compared to QGIS appearance. like this :
The text was updated successfully, but these errors were encountered: