Manipulating pixels and recording videos

For this section of the class, I decided to focus on being able to run the exercise developed in class and also start thinking on how the functionality to record videos is going to be incorporated in the continuation of my Midterm Assignment and also start preparing for the final.

I want to be able to understand the code more in-depth so I took the opportunity this class to code everything from scratch. The first test was an attempt to complete all the code from class and be able to save images and record videos from the canvas.

First test

First test

Once I was able to do that I started playing with the elements in the screen, the first step was to hide the non manipulated video so that the user could only see the video displayed in the canvas.

Hiding non manipulated video

Hiding non manipulated video

After I was able to successfully save the videos in the local server, I started to incorporate the UI that I have already stablished for my PT and Patient interface in the midterm in order to start visualizing how the PT could save a video for each of the exercises the patient is developing and be able to use them as a source of comparison and motivation for the patient to be able to visually understand the milestones in their recovery.

Implementing UI

Implementing UI

I envision being able to use the stored videos as a way to motivate patients and also a way for PT to keep track of their patient’s recovery.

Being able to save video files.

Being able to save video files.