tensorflow 对象检测 API(计算汽车速度.) [英] tensorflow object detection API(Calculate Car speeds.)

查看:57
本文介绍了tensorflow 对象检测 API(计算汽车速度.)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 tensoflow 对象检测 API 来计算检测到的汽车数量.但现在我想计算检测到的所有汽车的速度.我的问题是有没有办法使用 tensorflow 对象检测 API 来做到这一点.

I used tensoflow object detection API to count the number of cars detected. But now i want to calculate the speed of all the cars detected. My question is is there any way to do this using tensorflow object detection API.

推荐答案

您已经按照时间间隔跟踪汽车相对于像素的位置.您可以使用时间"库开始和停止时间记录.

You have keep track of the location of the cars with respect to pixels in intervals of time. You can start and stop the recording of time using 'time' library.

此外,如果您打算计算汽车速度,则必须获取相对于相机移动的相对速度.如果您的相机处于静止位置会更容易.

Also, if you are planning to calculate car speeds, you have to take the relative speed with respect to the camera movement. It would be easier if your camera is in a still position.

这篇关于tensorflow 对象检测 API(计算汽车速度.)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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