gpt4 book ai didi

c++ - 3.5+ 中缺少 estimateRigidTransform

转载 作者:行者123 更新时间:2023-11-28 01:26:28 25 4
gpt4 key购买 nike

我已经从 3.4 升级到 4.0,cv2 缺少 estimateRigidTransform 函数。文档显示它仍然存在于 C++ 库中,但不在 cv2 中。它是否已重命名,或者我在构建它时是否遗漏了一些愚蠢的东西?

我检查了 3.5,它看起来像是第一个缺少它的版本。

最佳答案

如您在文档中所见,estimateRigidTransform现在已弃用。

你应该使用 estimateAffine2DestimateAffinePartial2D

另外,我很确定 OpenCV 3.5 不存在:你从 3.4.4 到 4.0.0。

关于c++ - 3.5+ 中缺少 estimateRigidTransform,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53544156/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com