Skip to content

Included segmentation info when ingesting coco annotations. - #427

Merged
gsaluja9 merged 1 commit into
developfrom
feature/add_coco_segmentation_examples
May 16, 2024
Merged

gsaluja9 merged 1 commit into
developfrom
feature/add_coco_segmentation_examples

Conversation

@gsaluja9

Copy link
Copy Markdown
Contributor

Ingestion command:

adb ingest from-generator examples/CocoDataPyTorch.py --sample-count 1 --transformer image_properties

View the image(s) :

q=[
  {
    "FindImage": {
      "blobs": True,
      "uniqueids": True,
      "unique": False,
      "results": {
        "limit": 5,
        "all_properties": True
      }
    }
  }
]

r, blobs = db.query(q, [])
# print(r)

imgs = Images(db, response=r[0]["FindImage"]["entities"])
imgs.display(show_polygons=True, show_bboxes=True)

@gsaluja9
gsaluja9 requested a review from vishakha041 May 15, 2024 08:52
@gsaluja9
gsaluja9 merged commit 57e9504 into develop May 16, 2024
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

Successfully merging this pull request may close these issues.

1 participant