Hi everyone, I came across roboflow a couple days ago when looking for dog segmentation pre-trained models, and came across a model on Roboflow that I thought predict mine quite accurately. As such, I wanted to use the model to predict some of my images. However, the code to save the new prediction is only models.predict(‘filename’).save(‘newimage.jpg’), and instead of only saving the segmented dog images, this command masks the images and save it like that. So in the new predicted images, the background is still present, but just looks a little washed. Is there any command to remove the background so it’s completely gone instead of just looking washed?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Is it possible to make objects (annotated) visible and the background (unannotated) black or white? | 2 | 80 | March 28, 2024 | |
Images are removed when the .yaml file contains errors | 2 | 86 | September 15, 2023 | |
Annotation upload via CLI | 1 | 233 | March 24, 2023 | |
Training directory empty | 27 | 580 | July 8, 2022 | |
Maintaining directory structure after uploading | 6 | 697 | September 23, 2022 |