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

Add MBARI dive number to FathomNet database imagery #177

Open
lauravchrobak opened this issue Dec 10, 2024 · 7 comments
Open

Add MBARI dive number to FathomNet database imagery #177

lauravchrobak opened this issue Dec 10, 2024 · 7 comments
Labels
back-end Involves the back-end (API/DB) content FathomNet dataset content front-end Involves the front-end (web UI)

Comments

@lauravchrobak
Copy link

[Linda's suggestion] Because we are looking at a still frame with no context, it is occasionally helpful to look at the original annotations.

@hohonuuli
Copy link
Member

hohonuuli commented Dec 10, 2024

What info does she want to look at? I don't think dive number is enough. Snippet below for fetching info from a user_defined_key.

curl -X 'POST' \
  'https://m3.shore.mbari.org/anno/v1/query/run' \
  -H 'accept: text/plain' \
  -H 'Content-Type: application/json' \
  -d '{
  "select": [
    "imaged_moment_uuid",
    "observation_uuid",
    "concept",
    "observer",
    "observation_timestamp",
    "video_sequence_name",
    "index_recorded_timestamp",
    "index_elapsed_time_millis",
    "video_uri"
  ],
  "distinct": true,
  "where": [
    {
      "column": "association_uuid",
      "in": [
          "0e9e31f1-65d5-41d9-8a62-da51fb49dd1e",
          "b70a0305-90ee-4784-d261-c1748d3cdd1e"
      ]
    }
  ],
  "strict": true
}'

@lauravchrobak
Copy link
Author

She was envisioning adding the dive number to the details section of the webui so that she could check internally. What do you mean this isn't enough?

@hohonuuli
Copy link
Member

Some dives have thousands of annotations.

@kevinsbarnard kevinsbarnard added enhancement front-end Involves the front-end (web UI) back-end Involves the back-end (API/DB) content FathomNet dataset content labels Dec 10, 2024
@kevinsbarnard
Copy link
Member

@hohonuuli Last we chatted about this, you suggested we could add image tags to accomplish this. Maybe something like:
mbari-dive: Doc Ricketts 0123

This would be displayed in the image details view as there's already a component that renders the image tags in a list.

@hohonuuli
Copy link
Member

@kevinsbarnard Yes, adding the dive info is trivial. Just that I'm not sure it will solve the problem Linda has.

@lauravchrobak
Copy link
Author

@hohonuuli I think linda just wanted to dive number not necessarily the analogous annotation ids. Im not sure i fully understand what problem you think is missing here but if you expand we can ask Linda directly?

@hohonuuli
Copy link
Member

There's two things: 1. Using the dive id and a concept name to get back to the original annotation seems very cumbersome. 2. Is it OK with the data owners at MBARI if we provide the dive id in FathomNet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Involves the back-end (API/DB) content FathomNet dataset content front-end Involves the front-end (web UI)
Projects
None yet
Development

No branches or pull requests

3 participants