如何在C#中播放视频n跟踪其中的对象 [英] how to play video in C# n track the object in it

查看:81
本文介绍了如何在C#中播放视频n跟踪其中的对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从视频中跟踪球,用C#播放板球视频.我需要计算球的高度n半径等.plz help

谢谢!!

i want to play cricket video in C# from the track the ball from the video. I need to calculate ball''s height n radius, etc. plz help

Thanks!!

推荐答案

如果这是一个有趣的学习"项目,那么对您来说几乎肯定太复杂了.使用DirectX,您可以播放视频并使用称为PIN的代码,该代码位于处理视频每一帧的链中.跟踪球是一项艰巨的工作,例如,除非它是屏幕上唯一的红色物体.那么就很简单
If this is a ''fun to learn'' project, it''s almost certainly way too complex for you. Using DirectX, you can play video and use what''s called a pin, a piece of code that sits in the chain that processes each frame of video. Tracking a ball is tough work, unless it''s, for example, the only red thing on the screen. then it''s fairly easy


这篇关于如何在C#中播放视频n跟踪其中的对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆