擅长:python、mysql、java
<p>在..\opencv\modules\python\src2中的cv2.cpp中注释掉第162行</p>
<pre><code>CV_Error(Error::StsAssert, "The data should normally be NULL!")
</code></pre>
<p>重新编译和筛选应该工作得很好。</p>
<p>来源:<a href="http://answers.opencv.org/question/76952/regarding-the-error-message-the-data-should-normally-be-null/" rel="nofollow">http://answers.opencv.org/question/76952/regarding-the-error-message-the-data-should-normally-be-null/</a></p>