I want to record my kinect camera vision.I have searched, but I couldn't find any C# same core codes. Do you have same simple codes or same suggestions? thanks.
I believe the AForge library may be of use to you. Here: http://www.aforgenet.com/framework/features/ffmpeg.html you can see how you can instantiate a VideoFileWriter and write individual frames into it.
I am using this kinect record library for the kinect Kinect toolbox library
http://kinecttoolbox.codeplex.com/
and here is a tutorial
http://blogs.msdn.com/b/eternalcoding/archive/2011/07/04/gestures-and-tools-for-kinect.aspx
Related
I have to display a video stream from an ethernet camera into a WinForm C# 4.0 application. I made some tests with the software of the camera and I saw that the image provided by the camera was distorted by lenses.
I know that it's possible to correct the image using a calibration grid.
Do you have any feedback about some image processing libraray that can be use for this purpose? The library not necessary need to be free.
For some other projects I use Halcon or OpenCV, but I don't know witch one is the best for that.
Thanks in advance.
OpenCV can do it without any problem. There are a lot of implementations of camera calibration with OpenCV:
Here you have the official version of EmguCV calibration, it uses the CameraCalibration class
Or you can find the official OpenCV's sample application of camera calibration on OpenCV's GitHub, but this one is a native implementation.
I have got a directx9 window and i want to play an avi-video on a texture.
i have heard that i can use directshow to do this?
if this is really posssible, where can i find tutorials or sample code to do this?
thanks!
DirectShow Samples on MSDN:
Texture3D9 Sample Playback Draws video on a Microsoft DirectX 9.0 texture surface.
You will need to look for an older Windows SDK or DirectX SDK to find this sample though. I think it is removed from latest Windows SDK already.
\Samples\Multimedia\DirectShow\Players\Texture3D9
I'm a student from Nanyang Technological University (NTU), Singapore. And currently developing a project using Kinect SDK.
And my question is, anyone know how to develop a program to detect a finger (or fingertip) using Kinect SDK, or maybe even some possible reference codes. Anyway, I also tried to search on google, but the only reference I got is using Open NI, instead of Kinect SDK.
Thanks and Regards
I was looking into that myself, although haven't gone deep into it.
OpenNI has some constants for finger tip/wrist detection, but that's not implemented yet,
but that's not an option for your setup anyway.
Here's a list of resources that hopefully will get you started:
MIT CSAIL Hand detection
FORTH ICS - Efficient model-based 3D tracking of hand articulations using Kinect
Candescent NUI project
Other random videos
I want to be able to control a DSLR camera to start/stop recording video.
Canon has a nice SDK, but it seems that Video capture is not supported.
Anyone know if Nikon SDK supports this ?
Maybe there is a workaround for shooting video using Canon's SDK ?
Thanks.
Another hack: you might be able to capture the liveview images and stitch them together into a movie file.
It seems this is impossible using Canon's SDK. I solved this with a hack - using a USB-IR transmitter that sends the signal used by a Canon Remote to start/stop video. Ugly but works.
Does .NET have a native support for getting input from webcam?
If not, what is the best/recommended way to get input from webcam using C#/.NET?
.NET does not have a native support for webcams. You can use OpenCV library. Also a .NET wrapper exists for OpenCV - Emgu CV.
You might like to look at the easywebcam codeplex project:
http://easywebcam.codeplex.com/
On the other hand, the "native" option is to develop this using DirectShow. However, there is no (as far as I know), official managed interface for DirectShow, so it can have a steep learning curve to develop with.
This was also asked in How to get web cam images in C#? and you might find the following useful:
I've just released the complete sourcecode of my Windows app CamTimer (written in .NET/C#). Download/view the complete code (with working Webcam examples) at https://github.com/johanssonrobotics/CamTimer
Happy coding!
There is also an SDK called MetriCam. It is supposed for Kinect and Time-of-Flight cameras, but also supports webcams. You can download it for free at http://www.metricam.net
It includes samples and tutorials how to integrate a DirectShow webcam into C#/.NET The webcam tutorial can be watched here: http://www.youtube.com/watch?v=BvnRpby8mSE