camera application in windows form
Basically, i want to write a windows form program like any other webcam's control program in c++ for开发者_JS百科 a custom camera. this camera has some API like grab pictures and etc.
i have never done a camera application before, so i am a bit confused. for the "preview" function like other webcam softwares, is it like just polling the .JPEG pictures from the camera and display it on the windows form screen in every .1 second? is it like that simple? does anyone knows what the basically idea for writing a webcam software?thanks
Wait - Windows Forms is a .NET technology. Do you want to use Windows Forms (e.g. in C#)? Or do you want to use native code C++?
For C#, look at DirectShow.NET for simple webcam access.
For C++, use DirectShow.
精彩评论