blinkid-react-native icon indicating copy to clipboard operation
blinkid-react-native copied to clipboard

How can I clear BlinkID cache in react native

Open ahmadkhudeish opened this issue 3 years ago • 1 comments

How can I clear the scanning cache as well as results gathered? At the moment I have an issue where recognition is returning the same image result every-time on subsequent scans. What am I doing wrong?

In this release https://github.com/BlinkID/blinkid-android/releases/tag/v5.10.0 It talks about clearing cache RecognizerRunner.resetRecognitionState(false) but it doesn't seem to be working or I cannot find how to access this function.

ahmadkhudeish avatar May 24 '21 23:05 ahmadkhudeish

Hi @ahmadkhudeish,

Could you share with us the code snippet of how are you handling the results? Also the code snippet regarding the RecognizerRunner?

Regards, Anja

anjapenic avatar May 25 '21 08:05 anjapenic