Try it yourself with user id "kenji" (yes this is referencing the Chef). Use Chrome.
Commentary JS is video annotation tool that enables you to perform audio commentary on top of videos, optionally with spatial drawings and video recording. A variant of this tool was used for Ego-Exo4D's Expert Commentary annotations.
This is a port of the epic-kitchens-100-narrator to JavaScript.
The tech-stack is simple:
- Tailwind-CSS for styling
- JS and HTML for the UI code: ~1.8K LOC
- Python for the backend. Videos must be hosted on S3-compatible storage.
Follow the below steps:
Steps:
- Have S3-compatible storage somewhere, e.g. AWS S3, Digitial Ocean Spaces, etc.
- Configure your environment, see backend/constants.py for what's required.
- Generate metadata, see backend/data.py's
create_sample_datafunction to see what is expected.- The
scripts/upload_sample_videos.shis a script to example video data onto DigitalOcean spaces. - You can run
python backend/data.pyto generate sample metadata on your S3 storage.
- The
There is example Terraform configuration in ./tf for Digital Ocean.
You will need:
- An S3-compatible storage (as mentioned above)
- A VM with the correct environment installed. You can use the example Dockerfile for setting up the environment.
See docs/dev.md for setup
