waveshare camera

Raspberry Pi cameras (V1, V2, wide angle etc), HDMI capture modules etc.
Post Reply
Mr-Qu33f
Posts: 13
Joined: Mon Apr 29, 2019 12:52 pm

waveshare camera

Post by Mr-Qu33f » Thu May 02, 2019 11:38 am

Hello,
Just picked up my stereopi deluxe kit. I assembled the waveshare 160 degree cameras onto the board to test and found significant artefacts in one of the lenses. I have attached a photo, there are three circled all together
58716063_2045258072437745_5040099948117360640_n.jpg
artefacts circled in yellow
58716063_2045258072437745_5040099948117360640_n.jpg (169.42 KiB) Viewed 493 times
.
After seeing this, I removed the lense from the camera and found that the sensor has some kind of substance on it that I assume is glue, likely from when the lense has been attached.
59253071_326594868052708_2255766937537609728_n.jpg
59253071_326594868052708_2255766937537609728_n.jpg (39.63 KiB) Viewed 493 times
59698441_576704026155809_5518325285008703488_n.jpg
59698441_576704026155809_5518325285008703488_n.jpg (40.1 KiB) Viewed 493 times
Whats the best course of action to take?
Deluxe Stereopi + CM3 lite

Mr-Qu33f
Posts: 13
Joined: Mon Apr 29, 2019 12:52 pm

Re: waveshare camera

Post by Mr-Qu33f » Thu May 02, 2019 7:29 pm

on closer inspection, it seems that the sensor itself is cracked. I've sourced a replacement which should arrive saturday hopefully
Deluxe Stereopi + CM3 lite

User avatar
Realizator
Site Admin
Posts: 283
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: waveshare camera

Post by Realizator » Thu May 02, 2019 8:36 pm

Well, Mr-Qu33f , as they says "shit happens". It's first time I see new, not used and already defective Waveshare camera! :-)
I planned to propose you replacement procedure, but I see you've already ordered new one. Let me suggest you to refund your additional camera. I'll write you personal email to discuss how can I transfer money to you.
Hope it is Ok with other cameras and, the most important thing for me, with the StereoPi!
Eugene a.k.a. Realizator

DaveL
Posts: 2
Joined: Fri Apr 26, 2019 4:13 am

Re: waveshare camera

Post by DaveL » Wed May 29, 2019 3:32 am

Realizator,

First off, thanks for SLP image 190325.img and Boot file Stereopi-0.2.2.tar.gz Except for the few items on your to do list, the control and photo capture using an iPhone is working good for me. I am thinking about adapting the code to do a stereo timelapse.

I do have an issue with one of my V1 cameras.
photo-20190528-224323.jpg
photo-20190528-224323.jpg (2.73 MiB) Viewed 364 times
. It has it's focus set short so that infinity ( even at a few meters) is not in focus. I can try to remove the adhesive around the one edge of the lens and try to set the focus to match its mate. If you have had any good experience doing this I'll give it a try. I can keep using the out of focus V1 during my development time, but I will probably upgrade to the V2 cameras anyway in the future.

User avatar
Realizator
Site Admin
Posts: 283
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: waveshare camera

Post by Realizator » Wed May 29, 2019 7:22 am

Hi DaveL,
Focus problem is very old, as roots are at the factory tuning.
1. For V1 cameras there are lot of guides for focus tuning (like this one)
2. With the V2 cameras Raspberry Pi adds one special thing, described here on Pi forum, right for this focus adjusting purpose.

Actually, I found my V1 lenses also not ideally focused. I was able to mention this after zooming my photos. I plan to refocus them.

By the way, manual refocus with the visual feedback (looking at the monitor) is obvious approach. But I'm curious, is there any software for estimation of focus achieved, like this is done in DSLR. The easiest approach I see at this moment is to capture image and compress it to JPEG. The more JPEG size, the more focus you have. Discrete cosine transform (DCT) used in JPEG gives more data for images with more sharpness. The most difficult part here is to prevent camera moving while making a photo and adjusting a focus, as image scene should be absolutely the same. Theoretically it is possible to write script, indicating your current focus quality (JPEG size) in real time with a comfortable indicator. I need to think about it. Any ideas?
Eugene a.k.a. Realizator

Post Reply