AnsweredAssumed Answered

imxRT1060 evk camera image capture and transfer.

Question asked by niket sarda on Nov 2, 2018
Latest reply on Nov 14, 2018 by niket sarda

Hi,

We are working on the imxRT1060 evk.

In our application, we have to capture an image and send RAW data to mobile device.

We have taken CSI example code and able to start camera.

And according to the camera flow, we understand that 

CAMERA_RECEIVER_GetFullBuffer() function will give full camera FB image for that instance in inactiveFrameAddr variable.

For our application for image data transfer, we have taken value from inactiveFrameAddr and assign to the char pointer, and we took the strlen of those data to manage the raw data transfer(RGB565) and send those data to the mobile in from of chunk of 244 bytes packet.

Once mobile receive the data and convert the RAW data to any format to show the image on mobile, we not able to display the same image as we show on the imxRT1060 LCD. Image shown on mobile is not in proper pixel format.

 

Can you please help us to make the image steady.

Is our flow for image capture is right?

What will be the total size of Frame Buffer of single image frame (inactiveFrameAddr)?

Please let me know if something misses here.

 

 

Thank you 

Outcomes