After entering the first screen, there are two buttons, one is AR IMAGE and the other is AR OBJECT.
For the first AR IMAGE, IMAGE Recognition function provided by Viro is used to create Recognition targets (images with Tesla) in the code, as follows:
When the target is identified, the car model node written in the code is rendered.
The principle of the second AR OBJECT is the same as that of image recognition
The teabox.arobject file here was created by apple’s official ARKIT Scanner APP, which is the first step in the email at the bottom.
The following steps are the same as AR IMAGE, which is to identify target and then render the car model.
Use of Viro React the library documentation here: docs.viromedia.com/docs/viro-p…
For more of Jerry’s original articles, please follow the public account “Wang Zixi “: