Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to get raw image from Android camera?



  • Hi there. At first I'm sorry for my bad English! =)
    I want to do my own image processing and I need to get raw image from camera sensor before any postprocessing. Ideally in GBGR format.
    I know it's possible in Android SDK, but first one I don't want to learn Java and second one I like work with QT, it's very comfortable thing =)
    So, is anybody know how to take raw image from camera in QT, please?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    AFAIK, you can't get them directly, however, you can call Android's native API using the JNI with the helpers provided in the QtAndroidExtras module.

    Hope it helps.



  • @SGaist Thanks alot! I'll try this way.


Log in to reply