ARTrailer
ARTrailer copied to clipboard
Resource initialization failed:
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.
I have a YouTube data api key inserted I’ll try again.
Sent from my iPhone
On Jul 10, 2020, at 9:26 AM, Wai Ting Cheung [email protected] wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Does the text need to be a certain size?
Sent from my iPhone
On Jul 10, 2020, at 9:26 AM, Wai Ting Cheung [email protected] wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
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.