Comments (4)
Hi,
The correct way to change resolution is:
currentSensor.VideoMode = new VideoMode() { Resolution = new Size(640, 480), DataPixelFormat = VideoMode.PixelFormat.RGB888, FPS = 30 };
But I strongly suggest using below method to get list of supported video modes and then select one of them:
VideoMode[] videoModes = currentSensor.SensorInfo.getSupportedVideoModes();
currentSensor.VideoMode = videoModes[0]; // Or any other item of array
from niwrapper.net.
Ok, I will try this once again. And will let you know. Thanks!
from niwrapper.net.
Yes.. that's technique is working great for changing node's resolution 👍
Thank you Soroush so much for your quick reply ! Keep it up 👍
from niwrapper.net.
I'm glad it helped
from niwrapper.net.
Related Issues (20)
- Occasional hang when closing device HOT 13
- Weird cAsiNG HOT 1
- How to combine multiple sensors over network to track user through it? (Not a bug..) HOT 2
- Exception base class being thrown HOT 2
- NuGet support HOT 2
- Video stream freezes when both rgb and depth streams are used at the same time in 640x320 (or higher) mode. HOT 7
- Cannot use in Unity3D HOT 5
- Nuget problem HOT 1
- Is opening .oni supported? HOT 2
- NuGet - NiWrapper.dll Not Found HOT 3
- Is it possible that show depth and color image simultaneously HOT 4
- The task factory "CodeTaskFactory" could not be loaded from the assembly HOT 1
- ReadFrame memory leak
- NiTE.Initialize(); Error HOT 7
- Create new hand gestures HOT 1
- Don't know what I'm missing HOT 3
- Problem with DEPTH_TO_COLOR ImageRegistration in Kinect xbox HOT 14
- Problem with ImageRegistration DEPTH_TO_COLOR with Kinect xbox HOT 1
- Meaning of color codes used in NiWrapper Sample "UserColor/frmMain.cs" ?? HOT 1
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 niwrapper.net.