-
Notifications
You must be signed in to change notification settings - Fork 36
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
AR crashes when trying to scan #97
Comments
that |
also I think you want to define your material like
or
depending on where that file actually is |
I also want to mention that not all images are good tracking images. you can run the arcoreimg tool (included in the sceneform sdk repo https://github.com/google-ar/arcore-android-sdk/tree/master/tools/arcoreimg) and test the images you want to track
Crop all the whitespace out of that image...
|
Thanks @nickolanack I'll take a look at this when I can. Also about the materials, I actually forgot to adjust that and use like a random one that I do not need to provide (e.g. a local material from my file). |
I was just using the octocat as a test image. I'll try other images out...again when I can 😄 |
So I changed up the material and even tried scanning like 3 different images but to no success. All crashed when scanning the image with the same log |
So I have been struggling with this for a good couple of days and I still can't get this to work. I can't even tell if my image is being detected. So I just created a new app, add the plugin, and use both example code that is provided in the docs AND my own. Everytime I get to the AR part and I scan the image, it crashes but leaves a message saying
fromUrl() is deprecated. Use ImageSource.fromUrl() instead.
I need some help figuring this out and willing to provide any other info if necessary. Thank you!tns-version: 6.2.2
Android version: 9
iOS version: Don't know since I don't have one.
Code: (second TS file was when using class for observables and adding "{{}}" around
arLoad
in the xml file)The text was updated successfully, but these errors were encountered: