估计停车位大小的最佳方法(Python,OpenCV)

发布于 2025-01-25 15:40:59 字数 413 浏览 2 评论 0原文

我正在尝试使用一台相机来确定停车位的大小。

例如,两辆车之间的道路一侧有一个停车位,现在相机正在从侧面看。

解决这个问题的最佳方法是什么?我已经读到,有基于圆的标记选项,您可以检测到已知的长度并使用它来使失真从相机中取出,然后使用像素和偏差来确定实际的长度。

用Python解决此问题的最佳方法是什么,或者有更好的选择?

指南有GitHub回购吗?

编辑: 我没有实际的图像,但我做了一个草图。相机位置可能是可变的,因此不是固定位置

I am trying to determine the size of a parking space using a single camera.

For example, a parking space is on one side of the road between two vehicles and the camera is now looking from the side.

What is the best way to solve this? I have read that there is the Circle based Marker option where you detect a known length and use that to get the distortion out of the camera, then use the pixels and the deviation to determine the actual length.

What is the best way to solve this with Python or is there an alternative that is better?

is there any Github repo, for a guide?

Edit:
enter image description here
i don't have an actual image but i did a sketch for example. The Camera Position could be variable, so it's not a fixed position

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文