确定基于照片的负载拖车的填充百分比
有什么建议,如果您从码头拍摄拖车的照片,如何确定已加载拖车的填充百分比? 有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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您要问的话,没有构建的
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:
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.