yconst / burro

Platform for small-scale self-driving vehicles.
Other
37 stars 19 forks source link

Colour Artefacts in Recorded Output #32

Closed adricl closed 7 years ago

adricl commented 7 years ago

I have been recording frames with my car, however, I am getting strange colours down the bottom. Is this intentional? I have tested the picam using the still images and it's been fine.

frame_00004_ttl_-95_agl_0_mil_1507080140979

yconst commented 7 years ago

That's quite interesting. I've been having the exact same artifacts for some time, and always thought that my camera was playing up! Your experience shows that it's probably an issue of the Picamera library or the camera driver itself when working in some resolutions. I'm going to try with a slightly larger resolution and see how it works.

adricl commented 7 years ago

It might be worth abandoning the python picamera library and use the PiCamera as a webcam so we are compatible with other webcams. https://www.linux-projects.org/uv4l/. After looking at it more its quite a bit of work. I cant look into this issue right now as I am about to go on holidays. I can look at it after I come back.

yconst commented 7 years ago

This turned out to be due to the selected resolution indeed. Setting a different resolution, such as 160x120 or 120x90 fixes the issue. Thanks for reporting @adricl !