1

Raspberry Pi Camera(8 MP) shows blur images in Android Things installed on Raspberry Pi.

I use the code from Google Sample -- Doorbell application and capture the image but Image is too blur (Camera is 8 MP).

How to focus, autoFocus or how to set focus to Camera? Can I handle focus on this camera via Android Things Coding(Programmatically) ?

2

The Raspberry Pi camera is manual focus only. It's pretty tolerant of focusing errors, though, so if you set the focus to a good compromise distance, it will probably be sharp enough.

My Raspberry Pi Camera came with a small round plastic tool with a hole in the center that looks like this: focusing tool for Raspberry Pi Camera

It fits onto the camera lens, and you can adjust the focus by rotating it while pressing down to keep it locked onto the board. focusing tool on camera

If you lost your focusing tool (or never got one, different suppliers might not provide them), you could carefully use pliers to rotate the lens assembly (the round part with four flanges, not the square part) until it is focused, or buy a focusing tool (Adafruit sells them as "Lens Adjustment Tool for Raspberry Pi Camera").Which part of the camera to rotate in order to focus it

  • Thanks. I will use this tool for focusing camera. But there is any code for focusing camera programmatically? – Vikramsinh Gaikwad Apr 4 '18 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.