Hi, i am very happy with the various Arducam Mega cameras that I got from the kickstarter campaign. They work as I wished and i am diving deeper into the programming.
I use an ESP32 with the “full_feature” example. I am able to send various commands to the registers through Serial communication. Now, I am receiving a stream of image data, but i can not decode the data properly.
As far as I understand, the received image data is somewhat like: FF AA + COMMAND + IMAGELENGTH + IMAGEDATA + FILLER 00 + FF BB
But there are no starting/ending marks for the jpeg. neither can i see any metadata.
Here is a shortened example where the captured 96x96px JPG image should be mostly black.
b'\xff\xaa\x01(H\x00\x00\xa1\x10B\x10B\x10B\x10B\x10A\x10A\x10B\x10B\x10B\x10B\x10A\x10A\x10A\x10A\x10B\x10!\x10A\x10A\x10!\x10!\x08A\x08A\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!\x08!...............\x10!\x10!\x10\x01\x08!\x08\x01\x08!\x08\x01\x08\x01\x10!\x08!\x10!\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xbb'
-
Can you point me to the right direction where I can find the documentation on the image data?
-
Did you publish the source-code of the Arducam Mega GUI somewhere? (I took the win exe from here: Release Arducam mega sdk v2.0.4 · ArduCAM/Arducam_Mega · GitHub)
-
I am receiving the shown binary data with a python script and want to save/view the image within python. is there some kind of example for that?