Assignment 5

Interactive Real-Time Gesture Data

I’m a bit short on time this week due to midterms. I decided to continue working on my sketch from Assignment 4, which is training a handpose regression model. Basically, the idea is to control the R, G, and B color of the background with three-finger. Although I got it to work, I encountered an issue last week that the model could not be deployed after saving and loading the trained model. So this week, I decided to recollect all the data, retrained the model, and separate it into three sketches. 

Data Collection & Saving: https://editor.p5js.org/hnc247/sketches/ssdVrvWJk

Training Data & Saving the Trained Model: https://editor.p5js.org/hnc247/sketches/qF_S-lqtm

Loading and Deploying the Trained Model: https://editor.p5js.org/hnc247/sketches/3t0iLdnIt

I redid the whole process and the same issue came up. The editor had no response and crashed.

Fixed!

let thumbX=0;
let thumbY=0;
let indexX=0;
let indexY=0;
let middleX=0;
let middleY=0; 

Leave a Reply

Your email address will not be published. Required fields are marked *