We use the SDK to take a picture when in a specific position regarding to the detected target.
The taken picture is then provided to the SDK (replacing the camera preview) through an input plugin to determine where is the target in the taken picture (the user may have moved during the capture).
On some devices the preview is paused during the capture, and so there are lots of chance that the user moved during capture.
My problem is: when I provide a static image to the SDK, the recognized target is the same as the last preview frame (the one sent before the capture).
Event if the target is not present in the picture (by hiding it with the hand for exemple), the SDK sends me the last recognized target.
I tried to wait for several samples, but still the last recognized target is given.
(I'm using JS SDK 8.5 on android with a native input plugin, and image recognition feature)