Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path for PhotoRecognizer #21

Open
al4iii opened this issue Dec 2, 2024 · 0 comments
Open

path for PhotoRecognizer #21

al4iii opened this issue Dec 2, 2024 · 0 comments

Comments

@al4iii
Copy link

al4iii commented Dec 2, 2024

Hi. Tell me how to correctly specify the path to the file for iOS for the PhotoRecognizer function. The path of the format file:///data/user/0/com.project24/cache/mrousavy726420415185328566.jpg works for Android, but does not work for iOS.

  const resultPhoto = async (photo) => {
    const result = await PhotoRecognizer({
      uri: photo,
      orientation: "portrait"
    })
    console.log(result, 'result')
    setResult(result)
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant