**已关闭。**此问题不符合Stack Overflow guidelines。当前不接受答案。
我们不允许问题寻求书籍、工具、软件库等的建议。您可以编辑问题,以便使用事实和引文来回答。
2小时前关门。
Improve this question
“cv2.show”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“”“
`
error`
` Traceback (most recent call last)
`<ipython-input-7-c2adeec6693f> in <module>`
` 1 img1=cv2.imread("D:\\01.jpg")`
` 2 img2=cv2.imread("D:\\02.jpg").resize(img1.size)``
----> 3 img3=cv2.add(img1,img2)`
`4 cv2.show("Addition",img3)`
` 5 cv2.waitkey(0)`
`
`error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\arithm.cpp:650: error: (-209:Sizes of input arguments do not match) The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scala`your text`r', nor 'scalar op array' in function 'cv::arithm_op'
`
'这是什么?'i work on a project about image processing and i must know all about opencv and jupyter IDE
2条答案
按热度按时间ygya80vv1#
我建议您可以选择“Android Studio“IDE
ijxebb2r2#
有许多集成开发环境(IDE)适合使用OpenCV计算机视觉库。一些流行的选项包括:PyCharm Visual Studio Code Eclipse JetBrains Rider Atom IntelliJ IDEA Visual Studio每个IDE都有自己的优势和特性,最适合您的IDE将取决于您的个人偏好和项目的特定要求。OpenCV IDE中的一些流行特性包括对Python的支持、语法突出显示、代码完成、和调试工具。您可能需要尝试几种不同的IDE,看看哪一种最适合您。