确定基于照片的负载拖车的填充百分比

发布于 2025-02-08 18:14:48 字数 53 浏览 5 评论 0原文

有什么建议,如果您从码头拍摄拖车的照片,如何确定已加载拖车的填充百分比? 有API吗?算法?

Any suggestions how you can determine the fill percentage of a loaded trailer if you take a picture of the trailer from the dock?
Any API's? Algorithms?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北陌 2025-02-15 18:14:48

如果您要问的话,没有构建的getTrailerFillperCentage(bitmap)方法。

您也许可以创建这样的方法,但几乎可以保证涉及相当多的图像分析。因此,这将高度取决于输入数据。

要设备合理的算法,您可能需要回答:

  • 图像的哪一部分是预告片和背景?
  • 拖车的哪一部分被填满?

在理想的情况下,您将拥有黑色背景,白色的内部拖车墙和粉红色盒子。使细分变得容易。

问题还取决于照片的角度。侧面图像可能很容易分析,并且沿着长度的图像可能是不可能的。毕竟,如果您只能看到内部短距离的盒子墙,那么您怎么知道拖车有多长时间。

最后,很少有信息提供任何实际建议。我建议开始考虑您对相机,其局限性,放置和其他可能的传感器的限制。阅读有关图像分析或与专家交谈的主题的阅读可能也很有用。

There is no built GetTrailerFillPercentage(Bitmap) method if that is what you are asking.

You could perhaps create such a method, but it would almost guaranteed involve a fair bit of image analysis. Because of this it would be highly dependent on the input data.

To device a reasonable algorithm you probably need to answer:

  • What part of the image is trailer and background?
  • What part of the trailer is filled?

In the ideal case you would have a black background, a white interior trailer wall, and pink boxes. Making the segmentation easy.

The problem also depend on the angle of the photo. A side image might be fairly easy to analyze, and image along the length might be impossible. After all, how can you know how long the trailer is if you can only see a wall of boxes a short distance inside.

In the end there is far to little information to provide any actual recommendations. I would recommend starting to think about what limitations you have with regards to cameras, their limitations, placement, and other possible sensors. Reading a bit on the topic of image analysis, or talking with an expert might also be useful.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文