ArduCAM / RPI-Pico-Cam

130 stars 44 forks source link

blurr image and only 7fps for video on Ov5642 #19

Open Darshansgit opened 1 year ago

Darshansgit commented 1 year ago

Hello, when im trying to use my Ov5642 with a pico im getting very bad frames on video first of all and then the image quality is also very bad. When i put an object very close to the camera(about 5-10cm), the image is pretty decently clear. I am using thonny and the host app as instructed in the tutorial. How do i fix this? 1

jdrew1303 commented 1 year ago

Hi @Darshansgit

I know this is a bit late but hopefully this might help (if not you then maybe someone else with the same problem).

First, check if there is a little piece of tape over the front of the lens (this is sometimes put on in the factory to protect the lens in transport). I've left this on before. 😅

If not then the camera is basically out of focus and the lens needs to be adjusted.

DoF-sketch

There are 3 indents around the lens that should allow you to rotate the lens element. This will, like a screw, allow you to move the lens closer or further away from the sensor depending on how far away you want to focus. There may be glue fixing the position of the lens so be careful. If it doesn't move easily then you could damage the camera by forcing the lens.

pi-noir-glue

Adjusting focus using live video is the easiest method. The wider angle the lens the greater the depth of field. It's generally easier to focus on things further in the distance and focusing becomes more of an issue the closer you get to the object you want to focus on.

Anyway, hopefully this points you in the right direction. 🙋‍♂️