$250 BOUNTY -- Take Photos with CSI camera and get it into Python Pillow Format

  • Currently, when using a CSI camera and correctly capturing images (images processed by the ISP), it is necessary to process them through rkisp. The rkisp calls provided by Rockchip are only available through an API interface; using the V4L2 interface directly cannot meet your needs. It is essential to rebuild the Python library to achieve this.

    You can refer to the content in <Luckfox Pico SDK>/media/isp/release_camera_engine_rkaiq_rv1106_arm-rockchip830-linux-uclibcgnueabihf/rkisp_demo/demo or the source code of Opencv-mobile to implement a Python library by linking the C dynamic library (although it is more scientific to rebuild from the source code, Rockchip has not made this part of the code public, so the dynamic library is the only bridge for communicating with the ISP hardware).

    Of course, if you only intend to capture RAW images (images not processed by the ISP) and convert YUV to RGB (supported by Pillow), the complexity will be much lower. You can quickly find various implementations of YUV to RGB conversion functions through a Google search.

    Although our forum encourages individuals to discuss development issues together, we do not discourage offering bounties for solutions. If conditions permit, it is still recommended that you follow your own approach to development, and if you encounter any issues, we will provide suggestions to the best of our ability.
  • I appreciate your message Crocodile. I will take your advise and hopefully I figure it out before somebody else does.

    But the bounty is ON, if someone can provide me with a fully working implementation with instructions, I will pay out. If they can save me 5 hours of headaches it will be worth it.

    I will post here if I figure it out myself.