You will do affine transformation based on the corresponding of three points (x,y).
The three points are on the source image and on the destination image
To use:
refresh the browser, wait until the status is ready,
change the matrices,
click the button
then approve the permission to use the camera
The matrix is 3 by 2: each row represent one point (x,y)