Take a live video for a few minutes from google colab and save it to drive -- 2

Job ID: 32809638

Budget: $10 – $30 USD

I have a code that records a video from the webcam in colab and saves it in google drive, however I want that when I start the recording it only records for a few seconds and then stops.

video capture is written in JS and the code can be run from any google colab

I attach the .ipynb
Related categories: PHP JavaScript Python HTML5 Programming