camera game mode

I would like to know if anyone could help me to be able to put these variants in the camera to handle the blur, I have a simple camera without parameters, I would like to know how to add function when taking a photo