This repository contains four Jupyter Notebooks, which together segment an aerial image of a region into houses, trees and roads and then combine pre-built Minecraft .schem files according to the location of those houses, trees and roads.
This Notebook uses Grounded Segment Anything. Follow the instructions on their GitHub page to install an environment. A checkpoint for both Grounding DINO and Segment-Anything are also needed, both can be found on the GitHub page of Grounded-Segment-Anything.
This Notebook uses Segment Anything and CLIP. Follow the instructions on their GitHub pages to install an environment. A checkpoint for Segment Anything is needed, which can be found on their GitHub page.
This Notebook also uses Segment Anything, so the same environment and checkpoint can be used.
This Notebook only uses numpy, matplotlib and the nbt library, all of which can be downloaded using pip.