# Editing already annotated images?

**URL:** <https://support.prodi.gy/t/editing-already-annotated-images/1719>\
**Category:** Uncategorized\
**Tags:** enhancement, usage, done, image, front-end\
**Created:** [June 30, 2019, 4:23am UTC](https://support.prodi.gy/t/editing-already-annotated-images/1719 "2019-06-30T04:23:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dm23](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dm23](https://support.prodi.gy/u/dm23)\
**Post date:** [June 30, 2019, 4:23am UTC](https://support.prodi.gy/t/editing-already-annotated-images/1719/1 "2019-06-30T04:23:14Z")

</div>

Hello, I am using image.manual recipe to label images. I am using prodigy v1.8.3.

Here are the steps that I am doing -

1. Move the images I want to label in a single folder.
2. Create a new dataset with command _prodigy dataset trying\_set "Trying out prodigy" --author Me_
3. Use the image.manual recipe by command _prodigy image.manual trying\_set dataset/cars --label CAR_
4. Then by opening [http://localhost:8080](http://localhost:8080) in my browser, I see my images. I mark the bounding boxes on image, click on the green tick(accept), then label next image and so on. Till now, I can go back and edit any annotations using the history.
5. In the end, I see No Tasks Available written as I labeled all images in the directory. I click save button on the upper left part of the screen, and close my browser, and exit the process in the terminal.

Now, if I want to iterate through the images and see what I have annotated, how do I do it?  
I tried using _prodigy image.manual trying\_set dataset/cars --label CAR_ but it gives me the screen No Tasks Available and an empty history. Is it possible to go through all images and edit bounding boxes?

Please let me know if any more information is required.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [July 1, 2019, 7:29am UTC](https://support.prodi.gy/t/editing-already-annotated-images/1719/2 "2019-07-01T07:29:15Z")

</div>

Hi! The dataset argument you’re passing in on the command line is always the name of the set to _save_ the annotations to – but you can export the data from an existing dataset and then load it in to correct the data or add more annotations. Prodigy’s input and output formats are the same, so the exported JSONL files are also valid input files.

For example, you can export the data like this:

```bash
prodigy db-out trying_set > annotations.jsonl

```

And then re-annotate it like this:

```bash
prodigy image.manual trying_set_corrected annotations.jsonl --loader jsonl --label CAR

```

By setting `--loader jsonl`, you’re telling Prodigy to treat the input source as a JSONL file instead of a directory of images (which is the default).

I’d also recommend using a new dataset to store the corrected annotations (in my example, I called it `trying_set_corrected`). This keeps your datasets clean and tidy and makes it easy to start over if you make a mistake (without messing up your original data).

---

<div class="post-metadata">

**Author:** ![dm23](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dm23](https://support.prodi.gy/u/dm23)\
**Post date:** [July 1, 2019, 12:13pm UTC](https://support.prodi.gy/t/editing-already-annotated-images/1719/3 "2019-07-01T12:13:36Z")

</div>

Thanks, got it.  
So, I have to finish annotating, save,export then reload from the exported jsonl.  
Is it possible to edit the bounding box i.e. move the vertices of the bounding box? That would make annotation quite easy, sometimes we need to be precise in annotations.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [July 1, 2019, 3:36pm UTC](https://support.prodi.gy/t/editing-already-annotated-images/1719/4 "2019-07-01T15:36:57Z")

</div>

Yes, exactly. One of the principles of Prodigy datasets is that they're append-only and that individual records are immutable. This lets you always reconstruct a given annotation and what the annotator saw and labelled.

> [@dm23](#):
>
> Is it possible to edit the bounding box i.e. move the vertices of the bounding box? That would make annotation quite easy, sometimes we need to be precise in annotations.

Not at the moment, no! The manual image annotation UI is still fairly new and we first wanted to focus on the basics and quick/rough annotation features and see how precise we need to make the annotation workflow to cover the different use cases.

From your experience, what's more common: wrong sizing (e.g. box is too small or too large) or wrong positioning? Or both?

---

<div class="post-metadata">

**Author:** ![dm23](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dm23](https://support.prodi.gy/u/dm23)\
**Post date:** [July 1, 2019, 3:43pm UTC](https://support.prodi.gy/t/editing-already-annotated-images/1719/5 "2019-07-01T15:43:08Z")

</div>

Actually, both issues are quite common.  
Yes, please do add this feature soon!!
