Vuforia is a powerful AR platform. The Vuforia API enables object recognition, image tracking, column tracking, multi-object tracking, custom target tracking, cloud recognition, word recognition, frame identification, and virtual button functions.
It supports the development of multiple environments such as Android, IOS, and unity. Vuforia has a free version and is suitable for beginners to get started. There are already 220,000 of programmers using Vuforia for AR programming, but there is no Chinese version of the API.
Installation of Vuforia
1. Download the Vuforia SDK (~7m)
Https://developer.vuforia.com/downloads/sdk Find the Android version download
Baidu Cloud Download Http://pan.baidu.com/s/1pL2CAZx
Extract Code CKDX
2. Unzip and place in the directory of the Android SDK folder
3. Download the sample, unzip it and put it in the Samples folder (~26m)
Https://developer.vuforia.com/downloads/sdk
Baidu Cloud Download Http://pan.baidu.com/s/1qX7KapY
Extract Code R5CJ
4. Running the instance code learn to use the Vuforia SDK Core feature to open Android Studio select Open Android Studio Project Import Instance
5 Gadle may fail to build after importing the project, the workaround is as follows:
1. Change the Gradle version in Build.gradle to the version in your Android studio
dependencies {
Classpath ' com.android.tools.build:gradle:2.1.0 '
}
2. Changes in Gradle-wrapper.properties
3. Change Compilesdkversion, Buildtoolsversion, targetsdkversion from app-Build.gradle to the version used in your Android studio
Distributionurl=https\://services.gradle.org/distributions/gradle-2.2-all.zip
4. Launching app Error
"The currently selected variant" Debug "uses split APKs, but none of the 1 split APKs is compatible with the current Devi Ce with density "420" and ABIs "x86".
Error while installing APK "
These examples do not support the "x86" CPU, you can create a new emulator, select the "armeabi-v7a" version of the API, but this may be very slow, it is best to use the real machine test.
5. "Vuforia App key is missing. Please get a valid key, by logging to your account at developer.vuforia.com and creating a new project "
Vuforia 4.0 above requires a license key. To register an account on the official website, you can get a License key by completing the steps under Develop->license Manager.
Copy and paste the Vuforia.setinitparameter (mactivity,mvuforiaflags) in the Initvuforiatask class in Sampleapplicationsession.java, " Put license key in the third parameter in this "). You can run it again.
"AR" augmented reality Android Programming-Vuforia SDK installation and use (Android Studio)