Ai deck camera - upside down image streaming and artifacts
Posted: Thu Mar 18, 2021 4:49 pm
Hi!
I am having some issues in fixing the camera image stream when i load my code with jtag (wifi_jpeg_streamer). The code comes from a clean github pull, so it is the same code available for everyone and behaves differently with respect to the binary pre-loaded in the AI deck
I am using the latest AI-deck, with the grayscale camera.
The image is upside down, even if in the code we should set a register value to rotate it.
Plus, the image goes black if the camera is not pointing to a very bright light (as a lamp, or window)
Finally, there are some artifacts that i am not understanding:
1. in the bottom part of the image only, the white pixels become Black if thelight is too strong. This happens just for a single row of bits at the bottom.
2. There are some squares that occasionally pop up in the image, which seem jpeg encoding artifacts.
I am attaching an image that shows both of these problems.
Most importantly, all of these issues are not happening with the pre-loaded binary, but just with the git code.
any toughts? could you doublecheck the code that is on git?
I assume that it is just a matter of setting registers of the camera for the sensitivity..
Lorenzo
I am having some issues in fixing the camera image stream when i load my code with jtag (wifi_jpeg_streamer). The code comes from a clean github pull, so it is the same code available for everyone and behaves differently with respect to the binary pre-loaded in the AI deck
I am using the latest AI-deck, with the grayscale camera.
The image is upside down, even if in the code we should set a register value to rotate it.
Plus, the image goes black if the camera is not pointing to a very bright light (as a lamp, or window)
Finally, there are some artifacts that i am not understanding:
1. in the bottom part of the image only, the white pixels become Black if thelight is too strong. This happens just for a single row of bits at the bottom.
2. There are some squares that occasionally pop up in the image, which seem jpeg encoding artifacts.
I am attaching an image that shows both of these problems.
Most importantly, all of these issues are not happening with the pre-loaded binary, but just with the git code.
any toughts? could you doublecheck the code that is on git?
I assume that it is just a matter of setting registers of the camera for the sensitivity..
Lorenzo