1 Reply Latest reply on Jun 12, 2013 5:39 AM by Kutir Mobility

    How can I pass a captured image to a C/C++ method extension

    Luca Priano

      Hi all,

       

      I wish to use a C algorithm to do an image elaboration and I'd like to pass a captured image by camera to this algorithm.

      So I import the C algorithm as an extension, but my doubt is how to pass the captured image to my C method which is waiting for a pointer to image data

       

           Here my C method:

          l_int32 myCmethod ( l_uint32  *data) { .. }

       

      Looking at the callback parameters of the Camera API I don't see any way to get captured image data, do you have any hint to do this, or should I follow another way?

       

      Thanks in advance!!!