-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image noise getting worse after very first frame taken when service is up #67
Comments
Maybe I just forgot about it, but what exactly do you mean with The second image looks like a very low bitrate. Overall Spyglass isn't processing the images besides, adding the exif header into the binary, if you use We will look into it, if you can force some bitrate with picamera2 or maybe through libcamera controls. It would be good, if you could provide following informations:
Some other note about something I saw on that second picture, is the green line at the bottom (left). I saw already similar problems with camera-streamer, where you see that line primarily with WebRTC iirc. So there might be something up with the HW encoders of the Pis. Another thing, that I didn't test yet much myself is using "non-default" resolutions, especially for those 4:3 sensors like the OV5647 and IMX219 (picam v1 and v2 respectively). So for now I leave this issue open until we have done more testing on the things I mentioned. |
@mryel00 thanks for replying so quickly, I came here looking for help, this is almost sure not be related to spyglass but I thought that maybe something I could pass to libcamera as a parameter would help :D I'm in the middle of a print right now to test, but I tried to keep common ration while adding the resolution, but the result was the same as you see with the odd resolution. My goal is to use the fov as wide as I can for the camera in vertical position as "squared" as possible.
Settings:
Currently running 1280x1600: |
The picture isn't needed anymore. I just wanted to check if it's an original v1, a fake v1 or maybe some other OV5647 sensor cam. It's ofc completely fine to reach out for some advice from us, but I still have to always make sure that everyone reading something like this, knows that it's not something Spyglass is doing, but something on a lower level.
OV5647 sensors don't have autofocus afaik. We just added that option as a start parameter, because Spyglass was mostly intended for the v3 as it wasn't supported by crowsnest at that time. As the compression artifacts get better with lowering the resolution ( Because you are using a Pi3B, I will also do some testing on that device, when I get time for it. I mostly used Spyglass on a Pi4. |
Very funny situation on my use case, when I use a resolution like "1920x1440", with "vr90" option, after restart spyglass and keep refreshing the snapshot endpoint till I get the very first image, the very first image is pretty good, but the second onward is VERY noisy 😭
Image 1:
Images after first snapshot call:
Do you have any idea what can be causing this?
I'm using tunning file: https://github.com/raspberrypi/libcamera/blob/main/src/ipa/rpi/pisp/data/ov5647_noir.json
The text was updated successfully, but these errors were encountered: