Resource initialization failed:
Opened this issue · 4 comments
Hey This project is so cool. I just tried to test it out. but I got this error in Xcode when i pointed the phone at a movie poster with text. Any idea of how to fix this?
ARTrailer[16501:4219137] Resource initialization failed: could not open file /System/Library/LinguisticData/RequiredAssets_en.bundle/AssetData/en.lm/variants.dat
Thank you. I believe that is only a warning, not an error.
You need a YouTube Data API key to try it. I have updated both the README and the dependencies.
The OCR part should work fine, but I don't have quota for my API key and I am not able to test the JSON response.
To test the video overlay without quota, you may hard code the video id in the url.
It supports whatever sizes the VNTextObservation supports. Currently I use the largest text on the poster to search for trailers. You may also implement other heuristics if necessary.