Skip to content

Database and Datastructure

MM edited this page May 28, 2023 · 5 revisions

Datastructure

Uploads will be saved to the file system, so the VideoPose3D python script has easy access to them.

/Uploads/[USER-GUID]/[UPLOAD-GUID]

After processing an upload, the result will be saved to the same location.

The relevant resulting files will be:

  • [UPLOAD-GUID].mp4.npz -> the joint positions file
  • [UPLOAD-GUID]_result.mp4 -> the preview of the joint positions side by side with the original upload

After processing an upload the original file will be deleted.

An intermediate file resulting from detectron ending in .npy will be deleted aswell.

Database

image

For the database RavenDB will be used which is a very young and cutting edge NoSQL database.

"Estimation" documents are the results of an uploaded file, if pose-estimation succeeded, the joint positions will be attached to it as .npz and .json files, as well as a .mp4 preview file

An enum "Estimationstate" is used to track the state of an estimation, that will also be reflected to the end user on the frontend

Clone this wiki locally