Multiple applications on the same kinect device - c#

Is is possible to have multiple applications which are using the same kinect device?

Multiple applications can't use same Kinect device as one app can only request one Kinect sensor. You can however choose one of the ways listed below
Use multiple Kinects so each app uses separate Kinect
Use single Kinect for one of the app and share data across applications using inter-process communication

Multiple applications cannot share the device itself however using Kinect Service you can build one application that can act as a bridge between two apps sharing the color, skeletal, and depth data. The only thing you won't be able to do out of the box is tilt the Kinect.
Another work around is to have multiple applications or windows tied to one project using a separate Kinect class to provide access to the SDK functions.

Related

Unity shared control panel (network)

I have a Control Panel (lots of buttons) which works on all platforms.
I want that Control Panel to be shared with everyone (PC users, Android users etc).
Once a person press a button, all of the users Control Panels will be updated.
How do I approach this issue?
Dedicated server with clients?
I'm looking for a block of code which handle sending/receiving data/click on a button.
The whole program written in Unity C# and I'd like a solution in this platform as well (if possible).
socket programming is cross platform. you just send and recieve bytes. you just should have a server to recieve data and send it to other devices. if you use c# you can use .net sockets but for get rid of syncing problem yu can simply use unity Network library and using RPC. now unity has new network system named UNET and there is also photon. photon is not made by unity technologies but as the api is written for many different platform it can be the best choice for you to work on.

How to access camera on a windows tablet or attached web cams using Windows Form Application (Not WPF)?

I am trying to develop a Windows Form Application (not WPF) where I would require to preview numbers of cameras available on a tablet or PC, take pictures and then save the pictures in the device.
I am very new to this kind of application development and recently came accross Media Capture but I can not find a good lead to start with.
Can anyone let me know how to approach or how can I build the application with the aforementioned features or provide a good lead??
P.S. Found a good example on https://code.msdn.microsoft.com/windowsapps/media-capture-sample-adf87622/ but it uses XML not the Win Form Application type.....
What kind of cameras do you have? If the cameras support onvif, then there is a good onvif camera software you could try. You can handle many cameras with it, you can take snapshots so I guess it could work for you.

Two Instances from one Webcam

I am new at DirectShow and found one example to capture when i ran two instances of this app it throws exceptions like camera is already in use.I having a requirement that the same camera will be shared by two Applications.
Is it possible to acheive this using any filters
Thanks in advance
DirectShow web cameras are typically exclusive use resources, applications cannot share them. One solution is to use a virtual camera software that creates a virtual device available to many apps, backed by real devices. Or, you can also implement the sharing yourself.
See also:
Why does Windows only allow one application to access the webcam?
Is there a way to create a duplicate device of webcam?

Run different applications on 2 monitors

I have this C# project I'm working on, where I need to launch some videos on the second monitor and my application on the main monitor.
Is this possible to be done in C#? Launch some videos on monitor 2 in full screen and launch my application windows in full screen also.
So basically, I need to know how can select a specific screen and do something on it also how can I make an application launch in full screen.
It should actually be possible using Direct3D i think, while not having done this myself.
You should be able to identify your monitors, and do the appropriate work on each of them.
In your case I would create two different Direct3D Devices with each it's own resources (sharing resources between two different Devices doesn't seem to be possible).
Here are some Direct3D Samples on MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb153298(v=vs.85).aspx
And here you can find a way to creat a Direct3D Device on MSDN too:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb153258(v=vs.85).aspx

Add camera handling on Windows CE C# application

I'm trying to develop an application on Windows CE. My device has a camera and I would like to handle it in my application. I've found many samples for windows mobile and try to implement it but without success.
Is there a specific class or assembly for Windows CE about camera handling ???
Thanks
No, there is no generic "camera class" for using camera data under CE. Windows Mobile has the CameraCaptureDialog, but it requires a specific software interface that is only required from WinMo OEMs. Since cameras can have a wide variety of software interfaces and since there is not requirement for any OEM to use any specific one, there wasn't a way for the CF team to wrap it in a control.
In many cases the camera input stream can be gotten through Direct Show. If your device has DShow and the camera driver provides a DSHow interface (two big ifs) then you can probably create a filtergraph to import it. Doing so involves a fair bit of complex COM interop, so it's not what I'd call simple, but it's at least achievable.

Categories

Resources