Facemesh refresh canvas to smooth movement

i am trying to get movement facemesh smoothing but i cant get that the camera and canvas get smooth movement this is my blocks

i am using the extension canvas base64 with the camera of the cellphpne but isnt successfully to get smooth canvas images

i have an idea. maybe store every image using canvas save but and record using camrecord and translate to canvas. maybe can helpme with that.