# Save Command

**URL:** <https://discuss.roboflow.com/t/save-command/5513>\
**Category:** 🤝  Community Help\
**Created:** [April 26, 2024, 5:47am UTC](https://discuss.roboflow.com/t/save-command/5513 "2024-04-26T05:47:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![scarlet](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/scarlet/32/3053_2.png) [@scarlet](https://discuss.roboflow.com/u/scarlet)\
**Post date:** [April 26, 2024, 5:47am UTC](https://discuss.roboflow.com/t/save-command/5513/1 "2024-04-26T05:47:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [May 17, 2024, 5:48am UTC](https://discuss.roboflow.com/t/save-command/5513/2 "2024-05-17T05:48:41Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
