Giter Site home page Giter Site logo

3divi / nuitrack-sdk Goto Github PK

View Code? Open in Web Editor NEW
468.0 468.0 65.0 692.18 MB

Nuitrack™ is a 3D tracking middleware developed by 3DiVi Inc.

Home Page: https://nuitrack.com

C 1.99% C++ 69.78% Java 0.46% C# 0.39% Objective-C 22.28% Objective-C++ 4.98% Dockerfile 0.11%
ai kinect nuitrack pose-estimation

nuitrack-sdk's People

Contributors

andrey-tsb avatar ivan-3divi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nuitrack-sdk's Issues

Nuitrack_ARM64.apk v0.35.9 and UI problem not allowing license input

After App installation, I can see the loading bar with progress. But the Nuitrack Logo stretches together with the loading bar, displacing all other components. I miss the input for license and the selection

nuitrack_v0.35.9_not_working.mov

for devices.
This is happening with v0.35.8 as well. I had to roll back to v0.35.7

Error while activating the SDK

Hello and thank you for this great SDK.
But i have one problem while use the activation tool, when i i use activation_tool/Nuitrack.exe it just doesn't lunch, i checked the event viewer it showed that there is dll problems. First there was the libstdc++-6.dll, so i downloaded it and copy it to the folder, and again when i try to lunch the activation tool it doesn't do anything, and then i checked the event viewer and it showed that there was an error with ntdll.dll from /windows/system32.
My platform is win 10 64bit.
I would like to get help on this issue, because i am unable to use the SDK in any unity project.
And thank you.

Terminate Exception unity

I know there has already been an issue on this topic here, but the solution given did not fix our error. We copied the tbb.dll file, we tried different versions of the SDK and we made sure that echo %NUITRACK_HOME% returns the right path (in my case C:\Program Files\Nuitrack\nuitrack\nuitrack). All that done, yet we still face the error :
TerminateException: NuitrackException (TerminateException)
nuitrack.NativeImporter.throwException (nuitrack.NativeImporter+ExceptionType type) (at <838a3a5cc1b04415a67ee2b6ad5f9d44>:0)
nuitrack.NativeNuitrack.Run () (at <838a3a5cc1b04415a67ee2b6ad5f9d44>:0)
nuitrack.Nuitrack.Run () (at <838a3a5cc1b04415a67ee2b6ad5f9d44>:0)
NuitrackManager.NuitrackInit () (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:258)
NuitrackManager.Awake () (at Assets/NuitrackSDK/Nuitrack/Scripts/NuitrackManager.cs:140)

Any help would be awesome, thanks in advance :)

Azure Kinect DK nuitrack.config isn't applying

Model: Azure Kinect DK (AzureKinectDepthProvider)
Tested the config in nuitrack application and Unity Render Texture

In unity my kinect isn't changing the RGB width and height it stays natively 640x480
Code_MakYmrv4ls

Everything works for my "Intel RealSense D455(Realsense2DepthProvider)"
Code_pNO6p831Oe

note: I even tried different names like "AzureKinectDepthProvider", "AzureKinectDKDepthProvider"

Firmware and unity sdk is the latest

Unity3D plugin scripts not working on Ubuntu 20.

Hi,
I followed the instructions [here] (https://download.3divi.com/Nuitrack/doc/UnityBasic_page.html) for setting up the nuitrack Unity demo.
When I drag the NuitrackScripts prefab in the scene, the inspector give for each of the scripts the warning : 'The associated script can not loaded, Please fix any compîle errors'.
I am rather a newbie to Unity. Is there something obvious I am missing? Has somebody else experienced this problem.
Many thanks

Uninstallation stuck at 33%

I want to uninstall Nuitrack 0.35.9 in order to update to a newer version, but the uninstaller gets stuck at 33%. The detail window remains completely empty. How do I get rid of it? I could remove the directory and the environment variables, but I want to get rid of it from my Apps & Features as well.

unity平台,nuitrack启动 CPU跑到了100%

我使用的是nuitrack 最新的unitypackge包,在使用的时候通过查看任务管理,发现CPU跑到了100%。主机信息:
处理器 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz 3.79 GHz
机带 RAM 32.0 GB (31.9 GB 可用)
设备 ID 161AE908-BF9A-45C3-95F5-C77A2E940B10
产品 ID 00330-80000-00000-AA938
系统类型 64 位操作系统, 基于 x64 的处理器
笔和触控 没有可用于此显示器的笔或触控输入
请问要怎么处理?在这个网页中有人发言,有可以改善这个问题的版本。https://community.nuitrack.com/t/nuitrack-using-a-lot-of-performance/974/8

对了,还有一个问题。unity平台打包出Windows应用程序后,在启动时nuitrack从初始化到完全运行的过程特别长,大概40秒左右。请问这个问题怎么解决
我看了一下代码发现是这里启动特别慢
image

Uninstalling nuitrack gets stuck on the following "error"

During the uninstall, the uninstaller gets stuck on the following message:

C:\WINDOWS\system32>reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /d "%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;%SYSTEMROOT%\System32\OpenSSH;C:\Program Files\OpenNI\Bin64;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\ZeroTier\One" /f
Value Path exists, overwrite(Yes/No)?

Version: 0.29.0
Platform: Windows 10

Can i apply your code to my desktop

Hi, first of all great work ! I wanted to know if it's possible to use your code to devellope a touchless UI on my computer ? The goal being to be able to rigth/left click and move the mouse around on my pc in general.

Jittery Results in Unity SDK

I have used all tutorials and the results are nowhere near the NUITrack platform executable. The skeleton bones keep on disappearing even when staying still. However, when I run the executable and test from there, the results are smooth. (using RealSense D455)

What can be the reason?

Unity3D and Android on Persee/TVico crash

Scenario

I am using the Orbbec Persee/TVico camera to stream color and skeleton frames on an Android app.

I've purchased a license and then followed the steps in your Wireless case documentation to setup the Persee device. Persee is properly running as a WiFi hotspot.

Also, I downloaded the VicoVR.apk and assigned the proper IP address, exactly as described in your Android section. When I open the "Test Sensor" screen on the VicoVR app, everything works fine.

The issue

I downloaded the latest Unity package from your repository. When I build a Unity app for Android, the app is crashing on Android. Here's how to reproduce:

  • Create a new Unity project and import the Nuitrack Unity package. Also, the Unity installation folder includes the proper tbb.dll.
  • Open NuitrackManager.cs and assign the correct IP address of the Persee camera.
  • Open the RGBandSkeletons Unity scene (or any other built-in scene).
  • In the NuitrackScripts, set the Wifi Connect option to TVico (also tried with VicoVR).
  • Run in the Editor - works OK.
  • Build for Android and run.
  • The application starts, displays the Unity logo, and immediately crashes.

Here's the output of the Android Logcat:

nuitrack.ModuleNotInitializedException
   at nuitrack.Nuitrack.Update ()
   at NuitrackManager.Update ()

Notes

  • Tried on 2 different Android phones.
  • The Persee camera, Windows computer, and Android device are all connected to the same network.
  • I've used the Nuitrack/Auto switch dll option.
  • I've tried to set the Persee as a WiFi hotspot and as a Portable hotspot, leaving the default IP address. Same behavior.
  • Additionally, I've tried various Unity packages from the repo History. Same behavior.

How to use the CPU MaxLoad value in the Nuitrack.config file?

Discussed in #50

Originally posted by emanuelgollob September 24, 2022
Hello everyone,
I use the Nuitrack C# sample with the AI skeleton tracker and would like to limit the maximum CPU usage.
I found this setting in the nuitrack.config but couldn´t find any explanation for it:

"CPU": {
    "MaxLoad": -1.0
},

I guess -1.0 means no restriction at all, but how could I set it to, e.g. 60% of my maximum CPU power?

Thank you!

L515 not working in Unity 0.34.1 (at least for me)

I have an Intel Lidar L515 sensor and when I try the demos of NuiTrack for Unity (for instance the BasicSkeleton demo) I get a ModuleNotInitializationException. It does not recognise the device.

I am using the latest version of the Unity package (0.34.1) on Unity 2019.4.13f1. I use a USB3 port.
NuiTrack demos work fine with an Intel RealSense 435i.
The Intel L515 works with the RealSense Viewer of Intel RealSense SDK, but it does not work using NuiTrack.
As the 0.34.1 is a very recent version, I wonder if there is a bug, because the 0.34.1 is expected to support the L515.

Administrator rights needed for Astra+ support

We tried out the Orbbec Astra+ support of Nuitrack version 0.35.12 today. We tested this on a machine with Windows 8.1, the lower compatibility bar for our products. None of the samples work when run as a normal user. The nuitrack_sample.exe program for instance exits with the following error:

WARNING: OpenNI2DepthProvider can't create RGB Stream
Create DepthProvider: OpenNI2DepthProvider
Access is denied.
terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
  what():  Access is denied.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

They do work when you start them as administrator. The same is true for our application using the Nuitrack SDK. This is different from the Orbbec Astra and Orbbec Astra Pro which can be used in normal user mode. Having to run our applications as administrator is undesirable. Is there something I might have configured wrongly or is there a way to mitigate the problem.

This may be a Windows 8.1 specific problem, because I don't have this issue on my development computer that is running Windows 10 x64 version 21H1.

Unity keeps warning you to update tbb.dll even if it has already been replaced.

In the troubleshooting document, the following is mentioned regarding tbb.dll:

Replace the TBB library in your Unity editor with the library from Nuitrack:
Windows: copy the tbb.dll library from %NUITRACK_HOME%/bin to your Unity editor folder (for example, C:\Program Files\Unity\Hub\Editor\2019.4.8f1\Editor)

This is not enough. You will keep getting a warning that you need to replace tbb.dll when opening the project in Unity. If you accept and restart, the message will pop up again. You need to manually add a file called "tbb_backup.dll" to the same folder for the messages to cease.

This happens on version 0.35.12 with the corresponding Unity package, in unity 2020.3.12f1.

joint parameter orientation

Hi,
What is the orientation parameter mean in skeleton? It returns 3x3 matrix. Is there any relationship between real or projection values and orientation matrix? What and how can I use the orientation matrix?
Thank you.

Note: I'm using Python API.

RGB Color not detected in Unity

Hi,

I would like to raise this current issue in unity that did not recognize the RGB Color, I hope it will fix immediately ;)

Thanks

Finger tracking for D415

Can realsenseD415 use nuitrack to identify 22 joint points on the finger? So as to perform hand tracking. Thanks!

使用unity开发,在处理器为i3 Windows平台运行发生错误

使用unity(2021.3.8)开发,在处理器为i3 Windows平台运行发生错误,具体报错如下:

A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
 * C:/Users/windows/AppData/Local/Temp/Unity/Editor/Crashes

=================================================================
	Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at nuitrack.NativeImporter:nuitrack_CreateUserTracker <0x0008a>
	  at nuitrack.NativeUserTracker:.ctor <0x00042>
	  at nuitrack.UserTracker:Create <0x00052>
	  at NuitrackManager:NuitrackInit <0x00d2a>
	  at NuitrackManager:FirstStart <0x00222>
	  at NuitrackManager:Awake <0x000ea>
	  at System.Object:runtime_invoke_void__this__ <0x00087>
=================================================================

请问有没有解决方案:

Implementing HandsInput on unity-webview

Hello, first thank you for this tutorial it's very helpful but instead of a gallery I'm using a WebView that displays a webpage (Google Earth globe). I'm being able to move the two hand pointers on the canvas but Mouse, Move, Drag processes are not working on the WebView, what seems to be the problem? Aren't the pointers acting as a mouse already? And aren't the OnClick events of a webpage already implemented ? I would love a small guide on how to achieve this solution. I've added a screenshot of my project's architecture. Thank you!

PI - SampleScene - PC, Mac   Linux Standalone - Unity 2020 3 4f1 Personal DX11 4_25_2021 8_49_10 AM (2)

Segmentation Fault

Hi, I am new to the nuitrack-sdk

I followed the installation instructions to install nuitrack sdk on ubuntu 20.04 however after I installed and run nuitrack on terminal I get this error:

Screenshot from 2021-09-17 20-14-26

Jittery hand tracking

Hi all! so I have followed the tutorial and when I get up to step 11 (two hand sprits moving on the background accordingly to my hand movements) and it works! However, there is some jitteriness to it all. from time to time the sprits have spasms and if I am too carless in my movements, it becomes quite hard to use. My co-worker advised that lowering the min velocity interactive point, which did help a bit. But is there an ideal set up for the camera or a configuration that I missed? The gifs in the tutorial seem to show a user much less constrained in his movements.
An other issue is that the sprites seem to stick to the sides of the screen, as if it is where they are most stable..

I am using the D435 for reference.
Thanks and have a nice day!

Getting java.io.FileNotFoundException OpenNI.ini in a device without sdcard on Android API 30

Nuitrack Pro, RealSense 435. Android ARM64 v0.35.10.

The path /storage/emulated/0/Android/data/com.tdv.nuitrack.sdk/files/nuitrack/ does not exists on my device.
The files of the SDK are here: /data/media/0/Android/data/com.tdv.nuitrack.sdk/files/nuitrack/

W/System.err: java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.tdv.nuitrack.sdk/files/nuitrack/OpenNI.ini: open failed: EACCES (Permission denied)
W/System.err: at libcore.io.IoBridge.open(IoBridge.java:492)
W/System.err: at java.io.FileInputStream.(FileInputStream.java:160)
W/System.err: at com.tdv.nuitrack.sdk.OpenNI2Config.copyIniToAppFolder(OpenNI2Config.java:22)
W/System.err: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W/System.err: at libcore.io.Linux.open(Native Method)
W/System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
W/System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
W/System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
W/System.err: at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7546)
W/System.err: at libcore.io.IoBridge.open(IoBridge.java:478).

CmakeList.txt file:
`

https://developer.android.com/studio/projects/configure-cmake

cmake_minimum_required(VERSION 3.4.1)

add_library(nuitrack_gl_sample SHARED
${CMAKE_CURRENT_SOURCE_DIR}/android_main.cpp
${CMAKE_CURRENT_SOURCE_DIR}/NuitrackGLSample.cpp
${CMAKE_CURRENT_SOURCE_DIR}/dummy-lib.cpp)

set(NUITRACK_SDK_PATH ${CMAKE_CURRENT_SOURCE_DIR})

set(ANDROID_ARCH android)
if(ANDROID_ABI STREQUAL "arm64-v8a")
set(ANDROID_ARCH android-arm64)
endif()

add_library(app-glue STATIC ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c)
include_directories(${NUITRACK_SDK_PATH}/Nuitrack/include ${ANDROID_NDK}/sources/android/native_app_glue)

add_library(nuitrack SHARED IMPORTED)
set_target_properties(nuitrack PROPERTIES IMPORTED_LOCATION ${NUITRACK_SDK_PATH}/Nuitrack/lib/${ANDROID_ARCH}/libnuitrack.so)

add_library(middleware SHARED IMPORTED)
set_target_properties(middleware PROPERTIES IMPORTED_LOCATION ${NUITRACK_SDK_PATH}/Nuitrack/lib/${ANDROID_ARCH}/libmiddleware.so)

add_library(openni SHARED IMPORTED)
set_target_properties(openni PROPERTIES IMPORTED_LOCATION ${NUITRACK_SDK_PATH}/Nuitrack/lib/${ANDROID_ARCH}/libOpenNI.so)

find_library(log-lib log)
find_library(android-lib android)
find_library(egl-lib EGL)
find_library(gles-lib GLESv1_CM)

target_link_libraries(nuitrack_gl_sample app-glue ${log-lib} ${android-lib} ${egl-lib} ${gles-lib} nuitrack middleware)
`

Nuitrack Linux error - Please run as current user

Hi,
I am getting this error message when I type nuitrack after installing the latest Nuitrack SDK on Orange Pi:

image

I tried also sudo nuitrack with the same result.

My specifications:
HW: OrangePi 3 LTS
OS: Debian buster 2.1.6
ARCH: arm64
NUITRACK SDK VERSION: v0.35.14

Thank you for any tips!

Visual C++ Build FAILED

When I try to build, apperas the next error.

Build started...
1>------ Build started: Project: NuiSample, Configuration: Development_Editor x64 ------
1>Invalidating makefile for NuiSampleEditor (NuiSample.Build.cs modified)
1>UnrealBuildTool : error : Unable to determine UHT module type for C:\Program Files\Epic Games\UE_4.25\Engine\Plugins\NuitrackPlugin\Source\NuitrackModule\NuitrackModule.Build.cs
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_4.25\Engine\Build\BatchFiles\Build.bat" NuiSampleEditor Win64 Development -Project="C:\Users\THRIA ESTUDIOS\Documents\Unreal Projects\NuiSample\NuiSample.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "NuiSample.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Unity package can not be imported

I have tried importing the unity package but always get this error message. I have tried on different versions of Unity but i get the same issue.
Current Unity version 2019.4.14

Failed to import package with error: Couldn't decompress package

Qt_5.11 not found during activation

Hi Nuitrack team,

I tried to follow the instructions to run nuitrack. However, I got this error:

/usr/bin/QtNuitrackLicense: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/bin/QtNuitrackLicense)

My system is Ubuntu 18.04:
5.4.0-53-generic #59~18.04.1-Ubuntu SMP Wed Oct 21 12:14:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Any help would be appreciated! Thanks!

tbb.dll error when starting up the project with Unity ver 2020.3.24f1

When I try to start unity project with nuitrack package on Unity 2020.3.24f1,
I get message saying...
"You need to replace the tbb.dll file in editor with nuitrack compatible tbb.dll file..."
I replaced the tbb.dll file with the one in the Nuitrack bin folder, and still getting the same error message.
I also did uninstall and install the nuitrack and unity several time but still the same result.

Then I changed to unity ver 2020.3.0f1.
and followed the same steps as above and worked perfectly...

Which version of Unity is the latest supported version?

Garbage collection leak on Nuitrack.NET 0.30

Last year I reported in nuitrack forums issue 924 about Nuitrack.net creating new large arrays for every new frame, which made the GC to trigger a garbage collection every few frames.

I provided a solution, and Nuitrack was kind enough to send us a private library which had this problem solved.

We've upgraded to Nuitrack 0.30, which requires a new Nuitrack.NET dll, and after trying it, we've discovered it still has the same garbage collection problem from a year ago.

I can't understand why, a bug that was reported, aknowledged and FIXED is still not being released to the public.

Please, fix it ASAP and release a new nuitrack.NET dll immediately.

LibYAML Conflict

On Ubuntu 18.04, Nuitrack seems to coexist fine with other applications, but on Ubuntu 20.04 I am noticing undefined symbols due to Nuitrack's version of libyaml-cpp overriding the system default at /lib/x86_64-linux-gnu/libyaml-cpp.so.0.6. Is there a reason nuitrack must ship its own version rather than using the system default? Any workarounds to get other applications working again?

WIN10 Video Source Selection Window at C# Example Start

Hello there, I am using the Nuitrack SDK C# Example with a Nuitrack AI license on a WIN10 PC with a Intel Realsense D455 and I would like to start it automatically with every reboot.

It works occasionally but very often a WIN10 video source selection window appears and I manually have to choose between the Intel Realsense D455 depth or RGB camera - which is quite annoying as it ideally should reboot without any manual input.

If there is any way to avoiding this window please let me know.
Cheers

Object detection not working

Hi,
I'm trying to get Object detection working for a project.
The camera is a Realsens D435 and the platform is windows 10.
With the nuitrack activation tool, I have activated an AI license for the camera, and the test samples work - unless I check the "AI: Object Detecion", then it opens a window and immediately closes it again, with the following message in the box:

Starting test...
    3D sensor serial number: 215322076948
    3D sensor provider name: Realsense2DepthProvider
ERROR: Sample failed. Exit code: 3

Unckecking the AI: Object Detection box, it works as expected

As detailed in the online docs, I have installed Cuda 9

C:\Users\Playground>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:32_Central_Daylight_Time_2017
Cuda compilation tools, release 9.0, V9.0.176

The PC has a NVIDIA GeForce RTX 2060 with latest drivers installed.

I have tried installing an older version of Nuitrack (v0.35), with the same results. I intended to install v0.34, as that is th version used in the video above, but executables for older versions are not available.

Any ideas?

nuitrack sdk demo can't open intel realsense D435

Hello,
I ran nuitrack sdk demo, but demo ran failed. there are some information in console:

Usage: nuitrack_console_sample [path/to/nuitrack.config]
Can't find video camera!
Can't find Depth camera!
ERROR: Can't create DepthSensor module
AstraProPerseeDepthProvider: Can't open device ( DeviceOpen using default: no devices found
)
KinectDepthProvider: Devices not found
OpenNI2DepthProvider: Can't open device ( DeviceOpen using default: no devices found
)
Realsense2DepthProvider: Can't initialize Realsense2: rs2_config_resolve(config:0x563d423b4500, pipe:0x563d423aa800):
Couldn't resolve requests

terminate called after throwing an instance of 'tdv::nuitrack::ModuleNotInitializedException'
what():

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

Can anyone tell me how to solve it? Thanks.
BTW, I use command nuitrack to test camera, it shows error.
Screenshot from 2021-03-24 20-33-46

tbb.dll error


You need to replace the tbb.dll file in Editor with Nuitrack compatible tbb.dll file.
If you click [Yes] the editor will be restarted and the file will be replaced automatically
(old tbb-file will be renamed to tbb_backup.dll)


When I add the Unity package to the Unity project, it tells me to replace tbbdll.
If I click Yes, it keeps telling me to replace it, and I press Yes endlessly.

Unity project cycled on and off.
Also endlessly telling me to replace tbbdll.

I followed the installation order of nuitrack-sdk/Unity3D/README.md.

  1. Platforms/nuitrack-windows-x64.exe
  2. Unity3D/NuitrackSDK.unitypackage

I also copied and replaced tbbdll from nuitrack/bin.

nuitrack\bin\nuitrack_sample.exe. This works.

  • windows 10
  • unity version 2020.3.14f1, 2020.3.23f1, 2020.3.0f1
  • Nuitrack v0.35.12

How can I solve this?

NtWaitForMultipleObjects exception

Hello!
I use you library in Unity3d with webcamera.
Sometime i have fail of application with error:

0x00007FFCC87FD244 (ntdll) NtWaitForMultipleObjects
0x00007FFCC5762AE7 (KERNELBASE) WaitForMultipleObjectsEx
ERROR: SymGetSymFromAddr64, GetLastError: 'Попытка обращения к неверному адресу.' (Address: 000000006185FD57)
0x000000006185FD57 (NuitrackModule) (function-name not available)
0x0000000061C9D974 (NuitrackModule) ZN5boost13serialization9singletonISt8multisetIPKNS0_18extended_type_infoENS0_6detail11key_compareESaIS5_EEE20get_mutable_instanceEv
ERROR: SymGetSymFromAddr64, GetLastError: 'Попытка обращения к неверному адресу.' (Address: 0000000061BD0140)
0x0000000061BD0140 (NuitrackModule) (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 'Попытка обращения к неверному адресу.' (Address: 000000006186167D)
0x000000006186167D (NuitrackModule) (function-name not available)
0x00007FFCC7FAB04A (msvcrt) beginthreadex
0x00007FFCC7FAB11C (msvcrt) endthreadex
0x00007FFCC6E07C24 (KERNEL32) BaseThreadInitThunk
0x00007FFCC87CD4D1 (ntdll) RtlUserThreadStart

For example log of application.
error.log

This error i have on versions: 35.0 - 35.4

support on orbbec astra+

hello, I can't run any exe successed in "nuitrack\bin" when I use orbbec astra+ just like the white one in web https://developer.orbbec.com.cn/module.html.

and I check orbbec SDK at https://developer.orbbec.com.cn/download.html?id=77, the official "OpenNI_SDK" is not support astra+, only "orbbec_SDK" support astra+.

and I see there are "orbbec.dll"/"OniFile.dll" in floder "nuitrack\bin\OpenNI2\Drivers", these dll is in orbbec OpenNI_2.3.0.81.zip which is download from orbbec web. and I use "OpenNI_2.3.0.81\Win64-Release\tools\NiViewer\NiViewer.exe" can't open camera either.

so I'm doubt that nuitrack is really support astra+, is that only support astra pro?@https://nuitrack.com/#sensors

i push my error, there is "AstraProPerseeDepthProvider: Can't open device (" in image, but no info about astra+ or astraplus

image

Segmentation Fault on Ubuntu 20.04

I installed the latest SDK and get a segmentation fault when trying to run the license tool. I am using a D435 sensor which works fine with realsense-viewer. Also the examples in the realsense SDK work.

When running /usr/bin/QtNuitrackLicense with gdb I get the following:

Reading symbols from /usr/bin/QtNuitrackLicense…
(No debugging symbols found in /usr/bin/QtNuitrackLicense)
(gdb) run
Starting program: /usr/bin/QtNuitrackLicense
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
[New Thread 0x7ffff1ca4700 (LWP 57664)]
[New Thread 0x7fffebfff700 (LWP 57665)]
[New Thread 0x7fffeb7fe700 (LWP 57666)]
[New Thread 0x7fffeae7b700 (LWP 57667)]
[New Thread 0x7fffd5f61700 (LWP 57669)]
[New Thread 0x7fffd4c0c700 (LWP 57670)]
[New Thread 0x7fffcdeed700 (LWP 57671)]
[New Thread 0x7fffcd197700 (LWP 57672)]
[New Thread 0x7fffc7fff700 (LWP 57673)]
[New Thread 0x7fffc77fe700 (LWP 57674)]

Thread 6 “Thread (pooled)” received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd5f61700 (LWP 57669)]
_IO_fgets (buf=buf@entry=0x7fffd5f5e250 “”, n=n@entry=255, fp=fp@entry=0x0)
at iofgets.c:47
47 iofgets.c: No such file or directory.
(gdb) Quit

I can’t determine from this what the problem is. Can anyone offer suggestions what to try. Also if I set QT_DEBUG_PLUGINS=1 and run /usr/bin/nuitrack I get the following ( just posting the last few lines) . At the bottom is the seg fault.


Snip----------
QElfParser: ‘/usr/bin/zff2gff3.pl’ is not an ELF object
“’/usr/bin/zff2gff3.pl’ is not an ELF object”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zip”
“Failed to extract plugin meta data from ‘/usr/bin/zip’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zipcloak”
“Failed to extract plugin meta data from ‘/usr/bin/zipcloak’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zipdetails”
QElfParser: ‘/usr/bin/zipdetails’ is not an ELF object
“’/usr/bin/zipdetails’ is not an ELF object”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zipgrep”
QElfParser: ‘/usr/bin/zipgrep’ is not an ELF object
“’/usr/bin/zipgrep’ is not an ELF object”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zipinfo”
“Failed to extract plugin meta data from ‘/usr/bin/zipinfo’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zipnote”
“Failed to extract plugin meta data from ‘/usr/bin/zipnote’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zipsplit”
“Failed to extract plugin meta data from ‘/usr/bin/zipsplit’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zjsdecode”
“Failed to extract plugin meta data from ‘/usr/bin/zjsdecode’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zoe-loop”
“Failed to extract plugin meta data from ‘/usr/bin/zoe-loop’”
not a plugin
QFactoryLoader::QFactoryLoader() looking at “/usr/bin/zoom”
“Failed to extract plugin meta data from ‘/opt/zoom/ZoomLauncher’”
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path “/usr/etc/nuitrack/qt/plugins/platformthemes” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/bin/platformthemes” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/etc/nuitrack/qt/plugins/platforminputcontexts” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/bin/platforminputcontexts” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/etc/nuitrack/qt/plugins/imageformats” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/bin/imageformats” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/etc/nuitrack/qt/plugins/iconengines” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/bin/iconengines” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/etc/nuitrack/qt/plugins/accessible” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/bin/accessible” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/etc/nuitrack/qt/plugins/accessiblebridge” …
QFactoryLoader::QFactoryLoader() checking directory path “/usr/bin/accessiblebridge” …
Segmentation fault (core dumped)

I've asked for help on the forum but no luck. Hoping I can find some support here.

Missing UNITY_ANDROID in NuitrackManager.cs

There is a bug in NuitrackManager.cs in the Unity plugin.
In line num. 195, instead of if UNITY_IOS, it should be:

# if UNITY_IOS || UNITY_ANDROID
   	if (wifiConnect == WifiConnect.VicoVR)
   	{
   		nuitrack.Nuitrack.Init("", nuitrack.Nuitrack.NuitrackMode.DEBUG);

This led to some problems while using the plugin for my Android application (Nuitrack wasn't correctly identifying the platform, and thus it tried to load the Windows .dll files, which obviously weren't installed).

I suggest updating the Unity examples/tutorials, since all of them require some tweaking or modifying code before being usable. Still I haven't managed to make the SegmentExample to work.

nuitrack-linux-armhf.deb compiled on 64-bit linux?

Hi, all, tried to import PyNuitrack on a Raspberry PI 4 and get the following error.

from PyNuitrack import py_nuitrack
ImportError: /usr/local/lib/python3.7/dist-packages/PyNuitrack/py_nuitrack.so: wrong ELF class: ELFCLASS64

is the nuitrack-linux-armhf.deb compiled on 64-bit linux? anyone can help. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.