Skip to content

Review - 2020-05-19 #1

@arjunvenkatraman

Description

@arjunvenkatraman

Pulled data from - https://pacific-badlands-46907.herokuapp.com/getData

ToFix -

  1. All timestamps show zero - should be when the polygon was added
  2. Annotation record should include URL to video in order to be complete, or have a video list with annotations as sub-objects (either route should be justified)

DesignNotes

  1. For now lets stick to rectangular annotations (we can worry about complex shapes later)

New Stuff to Include

  1. Figure out if we can throw an overlay over a video box (with just the control piece sticking out) and do our rectangle drawing on that
  2. Would the above approach work for iframes
{
  "success": true,
  "data": [
    {
      "_id": "5ec25ab056a9790dd2601ff3",
      "drawnData": {
        "data": [
          {
            "color": "rgba(0,4,255,1)",
            "incidents": [
              {
                "x": 184.25,
                "y": 80,
                "width": 99,
                "height": 105,
                "time": 0,
                "status": "Show",
                "id": "kacb6zeg",
                "name": "kacb6zeg",
                "label": ""
              }
            ],
            "childrenNames": [],
            "parentName": "",
            "id": "kacb6zeg",
            "name": "kacb6zeg",
            "label": "1"
          }
        ]
      },
      "__v": 0
    },
    {
      "_id": "5ec2639756a9790dd2601ff4",
      "drawnData": {
        "data": [
          {
            "color": "rgba(227,0,255,1)",
            "incidents": [
              {
                "x": 231.25,
                "y": 91,
                "width": 168.75,
                "height": 138,
                "time": 0,
                "status": "Show",
                "id": "kaccjvnp",
                "name": "kaccjvnp",
                "label": ""
              }
            ],
            "childrenNames": [],
            "parentName": "",
            "id": "kaccjvnp",
            "name": "kaccjvnp",
            "label": "1"
          }
        ]
      },
      "__v": 0
    },
    {
      "_id": "5ec26d6ec808870017f2d687",
      "drawnData": {
        "data": [
          {
            "color": "rgba(0, 0, 0, 1)",
            "incidents": [
              {
                "x": 184.25,
                "y": 80,
                "width": 99,
                "height": 105,
                "time": 0,
                "status": "Show",
                "id": "kacb6zeg",
                "name": "kacb6zeg",
                "label": ""
              }
            ],
            "childrenNames": [],
            "parentName": "",
            "id": "kacb6zeg",
            "name": "kacb6zeg",
            "label": "1"
          },
          {
            "color": "rgba(0,4,255,1)",
            "incidents": [
              {
                "x": 53.25,
                "y": 98,
                "width": 100,
                "height": 93,
                "time": 0,
                "status": "Show",
                "id": "kace2akq",
                "name": "kace2akq",
                "label": ""
              }
            ],
            "childrenNames": [],
            "parentName": "",
            "id": "kace2akq",
            "name": "kace2akq",
            "label": "2"
          }
        ]
      },
      "__v": 0
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions