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

indicate annotated files #45

Open
lonnylundsten opened this issue Jan 25, 2018 · 1 comment
Open

indicate annotated files #45

lonnylundsten opened this issue Jan 25, 2018 · 1 comment
Assignees
Milestone

Comments

@lonnylundsten
Copy link

Please implement a method for indicating that 'videos' have been annotated with VARS X.
Perhaps color videos differently when they have been annotated at or add annotation count to the view -- or both?

videos_view

@hohonuuli hohonuuli added this to the beta-3 milestone Aug 9, 2018
@hohonuuli
Copy link
Member

hohonuuli commented Apr 17, 2019

I think it will be performant to get all annotations counts per video using the endpoint at http://myproxy.server.org/anno/v1/observations/counts and using that. I may have to make a new call everytime the dialog is opened though in order to keep it in sync. That call will return JSON like:

[
  {
    "video_reference_uuid": "e5bbee99-803d-4b73-9a25-f6710964eee9",
    "count": 633
  },
  {
    "video_reference_uuid": "e930aace-75bb-4bfd-ac93-0080009f80d7",
    "count": 84
  },
  {
    "video_reference_uuid": "908799e8-53a5-4ab1-9796-76b41529a993",
    "count": 292
  },
  {
    "video_reference_uuid": "9102df11-e684-41fe-959f-676e49c058d0",
    "count": 183
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants