Relying on SAM2 for geographic data generation.
Ref Data annotation toolsData generation has become increasingly crucial across various industries. At GeoCompas, we specialize in producing high-quality geographic data and developing training datasets for Machine Learning applications. Our commitment is to continuously enhance our capabilities and optimize workflows, ensuring more efficient processes and accurate results.
As part of this initiative, we introduced SAMGEO-API to replace our previous service, segment-anything-services. Built on the powerful SAMGEO framework by Professor Qiusheng Wu. SAMGEO-API is a cutting-edge service that streamlines interactions with the SAM2 module, offering seamless access to its powerful features through intuitive API requests—enhancing both efficiency and flexibility. 🚀
In collaboration with Earth Genome, we have developed SAMGEO-API and enhanced existing tools such as DS-Annotate and the Magic Wand plugin for JOSM. These advancements empower users to confidently manage large-scale mapping projects or focus on specific areas, leveraging SAM2’s reliable predictions.
Whether you’re mapping expansive regions or focusing on specific areas, SAMGEO-API delivers good accurate and reliable results that truly make a difference while reducing mapping time. We’re excited to see how this tool continues to drive innovation in geospatial applications.
Here are some practical examples demonstrating how to utilize SAMGEO-API through the interfaces.
DS-Annotate is a web tool we developed during the past years in collaboration with Development Seed, it allows you to easily upload your own TMS or WMS layers and start interacting intuitively.
DS-Annotate allows you to map any area and download the results as GeoJSON.
JOSM is a powerful tool that enables quick and efficient map editing. Integrating SAMGEO-API into JOSM through the Magic Wand plugin enhances the workflow, making it easier to rapidly digitize specific areas with precision and speed.
The plugin can be found in the JOSM plugin list. Once installed, you can interact with SAMGEO-API.
The Magic-Wand plugin for JOSM allows users to easily select areas for mapping and apply geometry simplification for more efficient editing.
The Magic-Wand plugin for JOSM runs the Auto SAM option, enabling the detection of all objects within the current view.
The SAMGEO API can be deployed on any GPU-enabled machine. As a starting point, we’ve deployed it on g4dn.xlarge in AWS, which performs exceptionally well for a few users interacting with the API simultaneously. For larger workloads or more users, instances like p3.2xlarge or g5.xlarge are excellent choices, offering enhanced performance and scalability.
Want to learn more about the SAMGEO API or mapping workflows? Reach out to us at info@geocompas.org —we’d love to hear your thoughts and explore ways to support you.