takePictureAsync Base64 encoding performing slowly

I’m trying to take picture with my expo react native app.

let uri = this.camera.takePictureAsync({
       base64: true
     }).then(data => {
         this.sendVisionOCR(data)
     }).catch(err => {
       console.log("err", err)}
     )

When running the function above it takes a very long time to log the base64 results and only seems to work sometimes.

How can it be faster?

Hey @ebrugulec,

Can you provide some more information regarding this? Such as what SDK version you are running, what devices this is occurring on and ideally if you could put a Snack together that reproduces this behavior that would be amazing.

Cheers,

Adam

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.