bounswe / bounswe2022group7

8 stars 3 forks source link

[Mobile] Image Annotation back-end integration #611

Closed canatakan closed 1 year ago

canatakan commented 1 year ago

Definition

The implementation of Image Annotation UI was completed with:

Using the infrastructure created with the implementation mentioned above, I shall complete the network integrations for the Image Annotation functionalities.

Annotation Structure

Our annotations are stored in the back-end as below, complying with the W3C's annotation standards:

{
  "_id": "638f1966144b75e4de3e6fce",
  "@context": "http://www.w3.org/ns/anno.jsonld",
  "type": "Annotation",
  "body": [
    {
      "type": "TextualBody",
      "value": "an interesting perspective",
      "purpose": "commenting"
    }
  ],
  "target": {
    "source": "<base64-image>",
    "selector": {
      "type": "FragmentSelector",
      "conformsTo": "http://www.w3.org/TR/media-frags/",
      "value": "xywh=pixel:115.71886444091797,81.76225280761719,40,60"
    }
  },
  "id": "52-#8c5f2fa2-17ce-4eff-be79-a8e554787586"
}

Tasks

This issue includes these main tasks:

To build the mentioned annotation object, I shall use the already created json object in #507, parsing and arranging it.

Deadline: 27/12/2022 02:00 Reviewer: @atillaturkmen

canatakan commented 1 year ago
canatakan commented 1 year ago
canatakan commented 1 year ago

619 has been merged, so this issue can safely be closed.