No new InputFrame from the camera. (iOS + Flutter)

0 votes
asked May 24, 2020 by tanutapi (180 points)

I am trying to integrate EasyAR to detect an image target as a Flutter plugin. My Android integration works well. But in my iOS implementation, it seems that the new InputFrame does not come into the pipeline.
My CameraDevice buffer capacity was set to 7, I can see the camera feed drawing in my screen just only 7 frames, and then it has gone.

If I increase the buffer capacity of CameraDevice to 200, I can see a longer camera display. However after that there is no more a new frame. I have no idea what is happening. My code is quite identical to the official iOS example. Does anyone have suggestions on this situation?

1 Answer

0 votes
answered May 30, 2020 by tanutapi (180 points)
Calling all logic from the main thread solve the problem. Now I get new frame from the CameraDevice.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.