Skip to content

Add last_img field to Pose table #534

@fe51

Description

@fe51

Pitch

On the camera dashboard page, in order to configure occlusion masks for each camera pose, a quite recent (and with good visibility) is required.

Moreover, unlike the last image field for cameras, where having a recent image on a regular basis allows you to verify proper functioning (and show it on platform), it may be more appropriate not to update the image regularly for poses (hence occlusion masks setup), or rather, ideally, to select an image when visibility is good.

What has to be done

  • Adds a str field in poses table (will contain the name of the image in the s3 bucket)
  • updates /api/v1/poses/{pose_id} (and/or /api/v1/poses/{pose_id}/occlusion_masks --> to be discussed) to be able to retrieve last_img_url using the endpoint
  • Adds PATCH endpoint for poses to update imag (use same logic
  • Updates client
  • Updates db diagram & tests

About the name of the field, not sure of last_img is the most relevant.

Happy to discuss it !

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