English 中文(简体)
视频中移动对象速度测量的算法
原标题:Algorithm for speed measurement of moving objects in a video

您用您的智能手机相机拍摄了一部移动汽车的视频。 视频的分辨率非常高, 并假定已经做了一些无损编码 。 ( 大小显然会很大 ) 。 它正在以60英尺的速度播放 。 在视频中, 可以用什么方法来测量汽车转速? ( 并非所有案例都存在完美的解决方案, 所以在特定条件下, 我愿意接受一些合理的假设, 如果有的话 ) 。

如果这不可能的话,我的下一个目标是 快速测量汽车的下半身 在视频中的固定物体。

<强>编辑:

我的情况是相机总是静止的, 汽车从左向右移动, 并且以恒定的速度移动。

< 坚固> 我看过什么方法已经

As the car moves, I move an object (a reference object) in front of the camera with some known speed. Then the video is having both the moving objects, one with known and another with unknown. by suitable calibration I can find the speed of the car. But I am looking for a solution where I dont have to move a reference object.

最佳回答

如果您的相机是静止的,而您的汽车在固定的距离上左向右移动,那么您应该能够跟踪汽车在序列中行驶的速度,并研究它移动的速度(以每框架像素表示 ) 。 然后您需要一个离校准步骤, 在那里您可以计算出转换系数对 mph 的大小, 比如, 您可能会计算出每框架100 像素= 30 mph, 这样您就可以将速度以每框架像素表示, 乘以 30/ 100 。

如果您不知道汽车的距离(或者说,如果距离不是固定的),那么这个方法不会起作用,因为一个更近的物体会比一个更远的物体在图像上移动速度快,即使它们以同样的速度以实际值移动。

问题回答

暂无回答




相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签