# Image annotations not being recognized onupload

**URL:** <https://discuss.roboflow.com/t/image-annotations-not-being-recognized-onupload/4522>\
**Category:** 🤝  Community Help\
**Created:** [February 19, 2024, 9:14pm UTC](https://discuss.roboflow.com/t/image-annotations-not-being-recognized-onupload/4522 "2024-02-19T21:14:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aks273](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@aks273](https://discuss.roboflow.com/u/aks273)\
**Post date:** [February 19, 2024, 9:14pm UTC](https://discuss.roboflow.com/t/image-annotations-not-being-recognized-onupload/4522/1 "2024-02-19T21:14:04Z")

</div>

Project Type: Image Segmentation  
OS & Browser: Ubuntu 22, Chrome  
Project: [Roof Obstructions Object Detection Dataset by Akhil](https://universe.roboflow.com/akhil-vglz5/roof-obstructions-vidwc)

I’m trying to upload some png images, and a coco annotation file to an existing project with some jpeg images.

The images upload fine, but the annotations do not. The annotations file (annotations.json) looks like the following:

```auto
{
    "images": [
        {
            "id": 0,
            "width": 1002,
            "height": 1001,
            "file_name": "mFZD8h.png"
        },
        ...
    ],
    "annotations: [
        {
            "id": 0,
            "image_id": 0,
            "category_id": 0,
            "bbox": [
                339,
                555,
                14,
                12
            ],
            "area": 168,
            "segmentation": [
                [
                    342.7118449203307,
                    555.3099906005905
                ],
                [
                    339.9534230258326,
                    562.8026075213653
                ],
                [
                    350.84645285235854,
                    566.8128982233492
                ],
                [
                    353.60487474685664,
                    559.3202813025745
                ]
            ]
        },
        ...
    ],
    "categories": [
        {
            "id": 0,
            "name": "category_1"
        },
        ...
    ]
}

```

There are no licences in this json, because I generated it myself. Is there something wrong with my annotations, or have I done something else wrong?

---

<div class="post-metadata">

**Author:** ![Lenny](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lenny/32/2383_2.png) [@Lenny](https://discuss.roboflow.com/u/Lenny)\
**Post date:** [February 19, 2024, 9:16pm UTC](https://discuss.roboflow.com/t/image-annotations-not-being-recognized-onupload/4522/2 "2024-02-19T21:16:19Z")

</div>

Based on the information provided, it seems like you’re interested in starting an image segmentation project on Roboflow. There are two types of segmentation projects you can create: Instance Segmentation and Semantic Segmentation.

- **Instance Segmentation** : This project type allows you to find the location of objects in an image at the pixel level. Each object found is given a unique reference.
- **Semantic Segmentation** : This project type also allows you to find the location of objects in an image at the pixel level, but it does not differentiate between instances of the same object.

To create a project:

1. Go to the Roboflow dashboard.
2. Click “Create New Project”.
3. Specify the project type (Instance Segmentation or Semantic Segmentation), the project name, and what you are detecting.

Once you’ve created your project, you can upload images via the web interface. If you already have a project, click “Upload” in the project sidebar to upload images. You can also clone images from Roboflow Universe to your project using the “Clone Images” feature.

For more detailed instructions, refer to the [Roboflow documentation](https://docs.roboflow.com/datasets/create-a-project).

Please note that the operating system you’re using doesn’t affect the process of creating a project or uploading images on Roboflow, as it’s a web-based platform.

* * *

> Hi! I’m Roboflow’s AI powered bot. This is an automated response powered using AI with knowledge from our docs, blog, and forum. If this solves your issue, please mark it as the solution using the checkbox icon. **If this doesn’t solve your issue, please follow up with what you’ve tried/why, and the community will continue to chime in as usual.**

---

<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:** [March 11, 2024, 9:16pm UTC](https://discuss.roboflow.com/t/image-annotations-not-being-recognized-onupload/4522/3 "2024-03-11T21:16:45Z")

</div>

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