Installation
Last updated
Last updated
Uninstall any existing version from Window -> Voxel Busters -> Easy ML Kit -> Uninstall
Import the plugin from asset store
Make sure you set Minimum Api Level in Player settings to API Level 24 if you are using live camera input.
To use ARFoundation supported input source, you need to add EASY_ML_KIT_SUPPORT_AR_FOUNDATION scripting define symbol in in player settings for each platform.
Error
java.lang.RuntimeException: Duplicate class kotlin.internal.jdk7.JDK7PlatformImplementations found in modules org.jetbrains.kotlin.kotlin-stdlib-1.8.22.jar (org.jetbrains.kotlin.kotlin-stdlib-1.8.22.jar) and org.jetbrains.kotlin.kotlin-stdlib-jdk7-1.7.10.jar (org.jetbrains.kotlin.kotlin-stdlib-jdk7-1.7.10.jar)
Resolution
Enable Main Gradle Template from Player Settings
Add implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) in dependencies block
Force resolve from EDMU (External Dependency Manager for Unity)
Error Argument 1: cannot convert from 'VoxelBusters.EasyMLKit.IInputSource' to 'VoxelBusters.EasyMLKit.IImageInputSource'
Resolution : Replace IInputSource type with IImageInputSource
Error
'Prepare(..) is obsolete: 'This method is obsolete. Pass Input source instance as first parameter to Prepare method.'
Resolution : You need to pass the input source (IImageInputSource or IDrawingInputSource) to Prepare method as first parameter.