当前位置: 动力学知识库 > 问答 > 编程问答 >

EmguCV inserting new image to Captured Frame

问题描述:

I want to to make a simple game like on screen will be some images and ,I will touch them with my hand .For this I must add some images to frame.I am using web-cam and Capture method

frame = cap.QueryFrame();

frame.Draw("Hello, world", ref f, new System.Drawing.Point(10, 80), new Bgr(0, 255, 0))

But I don`t know how can I add new image to frame . I added Some text but I need to add new image object to get coordinate of object and then move it . How can I make it?

网友答案:

You could create an ImageBox control on your form by following these instructions. Then, just point the control to your frame:

imageBox1.Image = frame;

Now whenever you update frame, it should automatically update your GUI.

分享给朋友:
您可能感兴趣的文章:
随机阅读: