Automating Object Silhouetting, Part 2: Segment Anything
This is a continuation of this post [link!] detailing our investigation of thresholding as a means to silhouette our images. In this post, we will see if using a contemporary machine learning model for image segmentation will yield better results. Introduction With the thresholding being prone to fairly disappointing results, a colleague recommended that we look into Meta/Facebook’s machine learning Segment Anything model, which is thankfully open source. We ideally did not want to rely on a program that could be taken down or otherwise become unusable. We want to be able to do this long-term, so this being open gave us more confidence in its sustainability. Setup The README for the repo is fairly detailed about getting dependencies and the actual model installed. The steps are fairly standard aside…