Comments (4)
Sadly ARCore Unity doesnt support Vulkan
As you can read here : https://developers.google.com/ar/develop/unity/quickstart-android
Uncheck Auto Graphics API. If Vulkan is listed under Graphics APIs, remove it.
Its a common request on https://github.com/google-ar/arcore-unity-sdk and hopefully come soon.
from tf-lite-unity-sample.
At the moment, this sample supports only gl-delegate on Android which uses OpenGLES internally. Implementing NNAPI delegate might work with Vulkan API. need to test.
from tf-lite-unity-sample.
Really? Guessing from logcat it actually looks like Vulkan API support is flawless.
05-08 01:14:20.252 19645 19699 D Unity : Started listening to [0.0.0.0:55405]
05-08 01:14:20.273 19645 19699 D Unity : [EGL] Attaching window :0x78518da010
05-08 01:14:20.273 19645 19699 D Unity : InitializeScriptEngine OK (0x7851764fc0)
05-08 01:14:20.273 19645 19699 D Unity : PlayerConnection already initialized - listening to [0.0.0.0:55405]
05-08 01:14:20.290 19645 19699 D Unity : Unable to lookup library path for 'libtensorflowlite_gpu_delegate', native render plugin support disabled.
05-08 01:14:20.291 19645 19699 E Unity : Unable to find libtensorflowlite_gpu_delegate
05-08 01:14:20.296 19645 19699 D Unity : Unable to lookup library path for 'libtensorflowlite_c', native render plugin support disabled.
05-08 01:14:20.297 19645 19699 E Unity : Unable to find libtensorflowlite_c
05-08 01:14:20.298 19645 19699 D Unity : PlayerInitEngineNoGraphics OK
05-08 01:14:20.298 19645 19699 D Unity : AndroidGraphics::Startup window = 0x78518da010
05-08 01:14:20.298 19645 19699 D Unity : [EGL] Attaching window :0x78518da010
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: count=9
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
05-08 01:14:20.342 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
05-08 01:14:20.345 19645 19699 D Unity : Vulkan detection: 2
05-08 01:14:20.345 19645 19699 D Unity : GfxDevice: creating device client; threaded=1
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: count=9
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
05-08 01:14:20.345 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
05-08 01:14:20.347 19645 19699 D Unity : [Vulkan init] extensions: count=23
05-08 01:14:20.347 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_incremental_present, enabled=0
05-08 01:14:20.347 19645 19699 D Unity : [Vulkan init] extensions: name=VK_GOOGLE_display_timing, enabled=0
05-08 01:14:20.347 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1
05-08 01:14:20.347 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1
05-08 01:14:20.347 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=0
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1
05-08 01:14:20.348 19645 19699 D Unity : [Vulkan init] extensions: name=VK_EXT_sampler_filter_minmax, enabled=0
05-08 01:14:20.353 19645 19699 D Unity : Vulkan API version 1.0.61
Or is that the delegate to OpenGLES you are talking about?
(Testing device is a Xiaomi POCOPHONE F1)
from tf-lite-unity-sample.
i have tried with ARFoundation 4.1.0 on android, it works
not sure how to get the skeleton aligned on fullscreen viewfinder
from tf-lite-unity-sample.
Related Issues (20)
- Build on v2.12.0 fails in GPU delegate (Android + Linux) HOT 1
- Missing meta files in TensorFlow Lite package 2.12.0 HOT 2
- Unable to support TensorFlow Lite Task Library model? HOT 5
- Accelerator compatibility issue on Android phones HOT 1
- Expose mediapipe config option "min_pose_detection_confidence" HOT 2
- face blendshape and geometry support HOT 4
- CameraTextureBackground doesn't support Built-in Render Pipeline HOT 4
- Custom model in SSD throws exception: TensorFlowLite operation failed HOT 3
- When the Graphics API is set to OpenGLES3, the ssd tracking does not work. HOT 2
- Fails TFLite Android build on CircleCI HOT 6
- deeplabv3_257_mv_gpu.tflite question HOT 2
- Having multiple tflite models deployed on same application HOT 5
- Better camera quality or a plugin instead of WebcamTexture HOT 1
- Facing Issue with Custom Model Integration HOT 2
- Map the landmarks on BlazePose Sample into a 3D avatar: eg Unity Chan? HOT 3
- Gpu Accelerator not working for linux x86_64. HOT 2
- undefined symbol errors on Xcode HOT 2
- This TensorFlow Lite and the one Xamarin - identical? HOT 1
- DllNotFoundException: libtensorflowlite_jni HOT 2
- Audio classification will produce different results on different runs HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tf-lite-unity-sample.