Comments (4)
Hi @vpenades,
Sorry for the issues you've encountered.
This problem will be fixed in the new release, which is planned next week.
from nuitrack-sdk.
@olga-komyakova Hi again, given that you're going to update the nuitrack.net.dll for the next version, I would like you to take these into consideration:
-
The Byte[] array that nuitrack.net.dll exposes is designed to make things easy for the end developer, in exchange for a performance loss. This is addressed by the fix I proposed a year ago. BUT, if the API exposes the internal pointer as an IntPtr, we can take advantage of that and avoid a memory block copy entirely, which would be a great performance improvement.
-
We're in the process of moving our projects to NetCore 3 , I am not sure which framework nuitrack.net.dll uses, but if it is one of the old NetFramework 3.5, or 4.5 etc, you should consider exploring how to make it work in NetCore..... most probably, you need to compile the wrapper targeting NetStandard2.0 or something like that. Right now there's probably a lot of clients still using NetFramework.... but everybody is moving towards NetStandard and NetCore.... so you should take that into account and update the framework accordingly.
-
Given that nuitrack.net.dll is just a wrapper and most probably it doesn't contain any "secret"... I would really consider publising it here at Github, as open source.
from nuitrack-sdk.
@vpenades We've released the new version, you can check it out.
from nuitrack-sdk.
Hi @olga-komyakova I've tested the latest version and I can see the IntPtr data is now exposed, which is much more convenient since it avoids doing a frame copy.
For those that still require a plain old c# array, it can be done in this way (requires c# unsafe mode):
var span = new Span<Byte>(frame.Data.ToPointer(), frame.DataSize);
var array = span.ToArray();
Thanks for fixing this issue!
from nuitrack-sdk.
Related Issues (20)
- unity平台,nuitrack启动 CPU跑到了100% HOT 7
- Could Nuitrack provide 3D hand data? HOT 4
- python SDK, get/set resolution/framerate HOT 2
- NUITrack not starting on Windows 11 HOT 7
- Python wheel for Ubuntu 22.04 HOT 2
- cannot select my kinect v1 HOT 4
- Using nuitrack on pre-recorded videos/point clouds HOT 2
- Your website nuitrack.com seems dead, is there a problem? HOT 1
- PythonNuitrack example on Readme crashes when face tracking enabled HOT 3
- [Feature Request] Ability to control and force detection in a specific area, in depth or in space HOT 6
- Attempting to type in license crashes the SDK HOT 1
- PyNutrack used on Persee Plus HOT 1
- Is there necessary to work GPU for nuitrack AI? HOT 12
- Maximum detection range HOT 2
- Any plans to support hand gestures on PyNuitrack? HOT 1
- Nuitrack App crashing with Astra 2 camera HOT 3
- UE5 plugin error HOT 4
- TouchDesigner integration not finding device HOT 7
- Unreal 5.3 w Blueprints? HOT 4
- Kinect support HOT 2
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 nuitrack-sdk.