Search code examples
react-nativecamerapokemon-go

React native AR (Pokemon GO)


i lately started an AR App using React Native. In that app, i have to catch items with my phone camera. The problem is that i can't see how to know if a GPS point (longitude,latitude of the item) is in the camera's field of view or not. Is there any framework or a mathematic formula to have this result.


Solution

  • For GPS datas from pictures, camera recording, can be taken from metadata using lib Exif https://github.com/headmax/exif-js https://www.scantips.com/lights/exif.html