Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the Normalised segmentation? #158

Open
c3210927 opened this issue Apr 5, 2022 · 0 comments
Open

How to get the Normalised segmentation? #158

c3210927 opened this issue Apr 5, 2022 · 0 comments

Comments

@c3210927
Copy link

c3210927 commented Apr 5, 2022

How to get the normalised segmentation?

I want to generate the segmentation_float with the zpy.output_coco.OutputCOCO(saver).output_annotations().

When I changed the code, it doesn't return any segmentation, just return the bbox.

The reason I want to normalize these is I am using 4K image size for rendering and I am getting a large annotation files. For example for 5 images, the annotation file was 17Mb.

        {
            "category_id": 0,
            "image_id": 0,
            "id": 0,
            "iscrowd": false,
            "bbox": [
                311.01,
                239.01,
                16.980000000000018,
                240.98000000000002
            ],
            "area": 4091.8404000000046
        },
        {
            "category_id": 1,
            "image_id": 0,
            "id": 1,
            "iscrowd": false,
            "bbox": [
                279.01,
                223.01,
                79.98000000000002,
                120.98000000000002
            ],
            "area": 9675.980400000004
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant