Hiw do i save image to local folder when object is detected (bounding box is shown)
It depends on how advanced of a use case this is.
- If you are looking for a single annotated image, it might be quickest to upload it to the relevant model page on Universe or the Roboflow app and take a screenshot. Here’s the model page on an example project. Or you can generate images via the example web app, also found on the model page under “More Deployment Resources”.
- If you are looking for an annotated result image via API, you should look into the object detection hosted API.
- If you send a request with a query parameter
format
set toimage
, it will return an annotated image prediction instead of a JSON array (which is otherwise the default) - Some relevant query options for generating annotated images via API are
stroke
andlabels
, as well as the usualoverlap
andconfidence
query params.
- If you send a request with a query parameter
- If you are looking for more granular and advanced annotated images, look into using our Supervision package.
- You can make beautiful annotations using a variety of “annotators”. See this page for a full list of annotators and example code.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.