TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What's the best way to detect whether a road is jammed?

1 点作者 spark3k超过 5 年前
I have a webcam looking at a particular narrow bottleneck of road near my house. It&#x27;s usually either free flowing, or completely jammed for ages, most often due to two wide cars not being able to get past each other leading them to have to reverse and do some weird manoeuvres.<p>I want to build a system which will output whether it&#x27;s jammed or not. What would be the best path to go down for this?

2 条评论

threecoins超过 5 年前
If the camera is stationary, as a naive approach you can sample the amount of black road area that is visible over a sample time
评论 #21210476 未加载
runariot超过 5 年前
You can use OpenCV to detect motion&#x2F;objects and then calculate their speed&#x2F;flow.
评论 #21210534 未加载