$250 BOUNTY -- Take Photos with CSI camera and get it into Python Pillow Format
Posted: 2024-08-23 18:19
Development bounty: $250 payable in Bitcoin
I really need some help with something, which could have a large impact,and I have wasted too much time trying to figure it out already.
Goal: Using the buildroot image and Python, I want to be able to take photos using the CSI camera, and read them into a Python Pillow Image object.
If you can provide a buildroot build configuration and an example of doing this, I will pay you $250 in Bitcoin. I must be able to recreate your work for you to be paid.
More details:
- Ubuntu apparently cannot access the CSI camera, so we must use buildroot.
- I am currently able to read the CSI camera with buildroot, but the image format is YUV, which PIL doesnt support.
- I would prefer if you didn't just convert YUV to a more normal image format using Numpy, because I don't want Numpy to be a dependency.
- I have spent also a bunch of time trying to get OpenCV to run to handle this. I am not a huge fan of making OpenCV a dependency either.
- Using a V4L2 python library is acceptable, I ran into issues with VIDEO_CAPTURE vs VIDEO_CAPTURE_MMAP. Luckfox is doing something "funky" with the way that the image data is stored in memory, which is making it difficult to use these libraries off-the-shelf.
Hopefully this is an acceptable proposition to the forum! Thank you for all of your help!
I really need some help with something, which could have a large impact,and I have wasted too much time trying to figure it out already.
Goal: Using the buildroot image and Python, I want to be able to take photos using the CSI camera, and read them into a Python Pillow Image object.
If you can provide a buildroot build configuration and an example of doing this, I will pay you $250 in Bitcoin. I must be able to recreate your work for you to be paid.
More details:
- Ubuntu apparently cannot access the CSI camera, so we must use buildroot.
- I am currently able to read the CSI camera with buildroot, but the image format is YUV, which PIL doesnt support.
- I would prefer if you didn't just convert YUV to a more normal image format using Numpy, because I don't want Numpy to be a dependency.
- I have spent also a bunch of time trying to get OpenCV to run to handle this. I am not a huge fan of making OpenCV a dependency either.
- Using a V4L2 python library is acceptable, I ran into issues with VIDEO_CAPTURE vs VIDEO_CAPTURE_MMAP. Luckfox is doing something "funky" with the way that the image data is stored in memory, which is making it difficult to use these libraries off-the-shelf.
Hopefully this is an acceptable proposition to the forum! Thank you for all of your help!