Can someone help me improve image quality and solve a delay/FPS issue?

Options

Hi everyone! Currently, I'm trying to develop an AR totem, primarily to showcase augmented reality creations focused on fashion. I've started developing it in WebAR and integrating it with an external menu of options for people to choose from various filter options. Everything is working fine, but I'm having issues with FPS and the inability to run it in 4K. I've posted a video here to illustrate the delay that's occurring:

drive.google.com/file/d/1OySuxUoVRi4T05XUu062BfOqSuejKGWs/view?usp=drive_link

Can someone help me improve image quality and solve the delay and FPS issue?

Thank you :)