Alignment Kinect OpenNI 2.2 - kinect

I know device.setImageRegistrationMode(openni::IMAGE_REGISTRATION_DEPTH_TO_COLOR ) doesn't support Kinect, so is there any other way to quickly and efficiently align rgb and depth on the kinect using OpenNI 2.2?
Thanks

the method you have posted up, does not work with "kinect for windows" but only supported by "kinect for xbox360"
But you can try to do this after creating your Devices and your VideoModes
device.setImageRegistrationMode(IMAGE_REGISTRATION_DEPTH_TO_COLOR);
device.setDepthColorSyncEnabled( true );

Related

Does Direct3D makes calls to bitBlt from GDI32.dll

I coded a demo application which uses
https://learn.microsoft.com/en-us/windows/desktop/api/d3d9/nf-d3d9-idirect3ddevice9-getfrontbufferdata
to perform screen capture of the my desktop.
My problem is when i use APImonitor I can see that when I takes screen shot, my application call bitBlt.
So can anyone tell me if Direct3D getfrontbufferdata is implemented using bitBlt?
Is there a dependence between gidi32.dll and directX ?
Thank you,
It seems that DirectX can choose to use bitBlt, depends on your GPU caps, texture source /destination/format/size.
Perhaps you should read this :
Fastest method of screen capturing on Windows

render audio in realtime in Watch OS

Is it possible to render PCM audio in realtime to the speaker/headphones/active audio route on the Apple Watch? In iOS, this is possible through AudioUnits using AudioToolbox. In Watch OS, the closest thing seems to be AVAudioEngine and it's manual render mode, but the documentation is confusing and suggests manual render mode is disconnected from an output source. Any advice on rendering audio bytes on realtime on Watch OS would be much appreciated.
Thanks.
You should be able to do this starting WatchOS 6.0+ and the new AVAudioSourceNode. See Apple Documentation here: https://developer.apple.com/documentation/avfoundation/avaudiosourcenode
As of this writing AVAudioSourceNode is in beta.

Kinect 2 shows black screen while capturing Infrared Basics

I am trying to use Kinect 2 and SDK v2 for capturing Infrared Images/videos.
Kinect shows Depth and RGB images properly, But when i try to visualize Infrared Basics in Kinect for Window. It does not show any image, rather a black screen.
What is the reason for it. I reinstalled SDK v2, but still the same problem. In a similar post some one suggested that reinstall a newer version, which I did. But still the same problem. Can any one suggest any solution?
thanks
it is better to use "KinectConfigurationVerifierSetup" for test system requirements. and i suggest you that use Infrared Basic-WPF Samples in SDK Browser, also you could use that sample code and install them to your computer. if still infrared data source not show, you could test Kinect on other computer
I fixed my problem by updating GPU Driver. It has a conflict/bug/error with older version. However Nvidia removed it. And if one install new driver, it start showing infrared images.
Attention for your graphics card setting, Maybe changing your computer to auto or Inter HD Graphics will work.

Mini210 can not play any video

I have the Mini210 board, I Installed both WINCE6 & Android on it.
I can not play any video, Like MP4 ,264 or AVI on it.
it does not recognize any of this formats.
I looked at It's BSP on wince, it only have two drivers. and does not have any driver for MFC( multi format video codec).
any Idea how to fix this problem?
In WinCE it is I believe your responsibility to select the required video format support in Platform Builder

How to draw graphics object in windows 8 winRT

How i can draw hand free graphic objects in windows 8, like paint can. I implemented such things in windows phone with Inkpresenter. But in winRT it seems that no such items are present. So i decided to use WritablebitmapEX, but idont know hot to implement this in windows 8. No sample code present in the downloading site. please any one help me to solve this issue.
http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/282a211e-e3bf-4184-8868-40208aa596dd
there is a good quickstart page on the Microsoft Site
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh974457.aspx

Categories