For the Raspberry Pi camera to work, it needs to be 50 cm from the object in focus. This is because the camera module has a focal length of about 50 cm.