Windows 窗体中的相机应用程序

发布于 2024-09-23 23:54:21 字数 228 浏览 0 评论 0原文

基本上,我想用 C++ 为自定义相机编写一个 Windows 窗体程序,就像任何其他网络摄像头的控制程序一样。这个相机有一些API,比如抓取图片等
我以前从未做过相机应用程序,所以我有点困惑。 对于像其他网络摄像头软件一样的“预览”功能,是否就像每隔 0.1 秒从相机中轮询 .JPEG 图片并将其显示在 Windows 窗体屏幕上一样?就这么简单吗? 有谁知道编写网络摄像头软件的基本思想是什么?

谢谢

Basically, i want to write a windows form program like any other webcam's control program in c++ for 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深海夜未眠 2024-09-30 23:54:21

等等 - Windows 窗体是一项 .NET 技术。您想使用 Windows 窗体(例如在 C# 中)吗?或者你想使用本机代码C++?

对于 C#,请查看 DirectShow.NET 以进行简单的网络摄像头访问。

对于 C++,请使用 DirectShow。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文