本文介绍了如何使用鼠标在流视频的顶部绘制未填充的正方形并在C#中自动跟踪包含在正方形中的对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在制作一个对象跟踪应用程序.我已使用Emgucv 2.1.0.0将视频文件加载到图片框.我还从网络摄像机拍摄了视频流.

现在,我想使用鼠标在视频流上绘制一个未填充的正方形,然后在视频继续流传输时跟踪由未填充的正方形包围的对象.

到目前为止,这是人们的建议:-

(1).NET Video覆盖图(DirectX)-但这是针对C ++用户的,建议者说有.NET包装器,但是我很难找到任何内容.
http://www.codeguru.com/cpp/gm/directx/article.php/c1229 /


(2)DxLogo示例
DxLogo –一个示例应用程序,显示了如何在数据流上叠加徽标.它使用捕获设备作为视频源,并将结果输出到文件中.不幸的是,这不使用鼠标.
http://directshownet.sourceforge.net/about.html


(3)GDI +和鼠标处理-这个区域我没有头绪.

为了跟踪正方形中的物体,如果有人给我一些研究论文链接以供阅读,我将不胜感激.

非常感谢您使用鼠标在视频上进行绘制的任何帮助.感谢您抽出宝贵的时间阅读本文.

非常感谢

Hi,

I am making an object tracking application. I have used Emgucv 2.1.0.0 to load a video file to a picturebox. I have also taken the video stream from a web camera.

Now, I want to draw an unfilled square on the video stream using a mouse and then track the object enclosed by the unfilled square as the video continues to stream.

This is what people have suggested so far:-

(1) .NET Video overlay drawing(DirectX) - but this is for C++ users, the suggester said that there are .NET wrappers, but I had a hard time finding any.
http://www.codeguru.com/cpp/g-m/directx/article.php/c1229/


(2) DxLogo sample
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. Sadly, this does not use a mouse.
http://directshownet.sourceforge.net/about.html


(3) GDI+ and mouse handling - this area I do not have a clue.

And for tracking the object in the square, I would appreciate if someone give me some research paper links to read.

Any help as to using the mouse to draw on a video is greatly appreciated. Thank you for taking the time to read this.

Many Thanks

推荐答案


这篇关于如何使用鼠标在流视频的顶部绘制未填充的正方形并在C#中自动跟踪包含在正方形中的对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 14:50