擅长:python、mysql、java
<p>我也有同样的问题。据我所见,<code>composePanorama</code>有两个重载。在</p>
<pre><code>CV_WRAP Status composePanorama(OutputArray pano);
Status composePanorama(InputArrayOfArrays images, OutputArray pano);
</code></pre>
<p>这是我们需要的第二个重载,因为<code>pano</code>是一个输出参数,在Python中它是作为返回值给出的。不幸的是,第二个重载没有用<code>CV_WRAP</code>标记,这将使Python绑定可用。所以我能看到的唯一解决办法是:</p>
<ul>
<li>使用替代缝合实现</li>
<L>检查丢失的CopyPoRoRAMA实现的C++代码,并在Python </Li中重新实现它
<li>在打开的CV Github上注册问题并等待更新</li>
<li>从源代码构建opencv并将函数标记为<code>CV_WRAP</code>(我不确定它是否真的这么简单)</li>
<L>在C++中代替Python </LI>
</ul>
<p>不过,如果有人能在不经历上述复杂任务的情况下用Python发布一个答案,我将非常高兴。在</p>