Skip to content

path for PhotoRecognizer  #21

@al4iii

Description

@al4iii

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)
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions