Hi there!
I have a neural network from which I exported weights and biases and am now trying to do inference on my Arduino Nano RP2040 Connect. I have OV2640 SPI connected to it and it successfully takes pictures in JPEG. The problem is that JPEG compresses the image, meaning I don't get the size of the array I need as an input for my neural network. E.g., even though the resolution is 80 x 50, I don't get the expected 4000 pixels.
I thought taking a RAW image would solve the problem. However, I don't see a built-in option to take a RAW image. I thought maybe there are other libraries for it, or maybe someone can tell me how to take an image as a pure bytearray(), and then convert it to RAW (or PNG)?
Here is the code I used for taking JPEG pictures
Any help on this is appreciated!
How to take RAW image with OV2640?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- danhalbert
- Posts: 4612
- Joined: Tue Aug 08, 2017 12:37 pm
Re: How to take RAW image with OV2640?
Try asking for support in the Arduino forum, since this board is not our product.
Please be positive and constructive with your questions and comments.