roboflow-python icon indicating copy to clipboard operation
roboflow-python copied to clipboard

[Feature]: Overwrite images uploaded to Roboflow

Open MuhammadQuran17 opened this issue 2 years ago • 3 comments

 new_project.upload(
        image_path=image_path,
        annotation_path=annotation_path,
        split="train",
        is_prediction=True,
        overwrite=True)

I could not find overwrite parameter in (https://github.com/roboflow/roboflow-python/blob/main/roboflow/core/project.py). Could you please add owerwirting existing images

MuhammadQuran17 avatar Aug 24 '23 11:08 MuhammadQuran17

I am encountering the same problem. I would love to update/overwrite my object detection annotations via API as described in the comment by xmsi.

However, I get the following error message:

'hint': 'This image was already annotated; to overwrite the annotation, pass overwrite=true as a query parameter.'

Is there anything planned in this regard? Or might there be a workaround for overwriting existing annotations?

lukasaebi avatar Dec 18 '23 17:12 lukasaebi

I am also encountering the same problem.

plutonic89 avatar Jan 04 '24 18:01 plutonic89

I am also encountering the same problem.

There's a pull request pending. Might work in the future. #216

lukasaebi avatar Jan 04 '24 19:01 lukasaebi