在 C#.net 中在流视频顶部绘制一个未填充的正方形?

发布于 2024-09-04 07:20:49 字数 150 浏览 1 评论 0原文

有谁知道我可以用什么在 C#.net 中的实时视频流/保存的视频上绘制一个未填充的正方形?

有人说使用 Directshow,但它是针对 C++ 用户的。 dshownet 中有解决此问题的功能吗?

另一个说使用XNA,但我的项目是一个对象跟踪应用程序。

Does anyone know with what I can draw a unfilled square on a live video stream/saved video in C#.net?

Someone said to use Directshow but it is for C++ users. Is there a feature in dshownet that addresses this issue ?

Another said to use XNA, but my project is a object tracking application.

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

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

发布评论

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

评论(1

逆流 2024-09-11 07:20:49

您的情况听起来像是由 DxLogo 示例解决的 @ http://directshownet.sourceforge.net/about.html

DxLogo – 一个示例应用程序,展示如何在数据流上叠加徽标。它使用捕获设备作为视频源,并将结果输出到文件。

只需将徽标替换为未填充的正方形即可:)

Your situation sounds like it's addressed by the DxLogo sample @ http://directshownet.sourceforge.net/about.html

DxLogo – A sample application showing how to superimpose a logo on a data stream. It uses a capture device for the video source, and outputs the result to a file.

Just replace the logo with an unfilled square :)

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