OpenCV4.9.0版本中ChArUco棋盘的使用
opencv
OpenCV: 开源计算机视觉库
项目地址:https://gitcode.com/gh_mirrors/opencv31/opencv
·
需要安装的包:opencv-contrib-python(pip install opencv-contrib-python)
可能你已经安装了opencv-python包,并且也顺利的生成了ChArUco棋盘图片,但是只能使用aruco模块下的部分功能,当涉及到更多功能如detectMarkers功能时大概率是会报错的,因为opencv-python包在当前这个版本中不包含该功能,例如在使用
cv2.aruco.detectMarkers()
功能时会提示aruco中没有detectMarker模块!
针对标准的桌面环境,OpenCV提供了两种可选择的包opencv-python和opencv-contrib-python,两个包只需要安装其中一个即可
其中opencv-python是OpenCV的只包含了主要模块的基本包,opencv-contrib-python包含了主要模块以及扩展模块,而如果要使用ChArUco棋盘,则必须安装opencv-contrib-python包,否则当涉及到其中的部分功能时将会报错。
OpenCV: 开源计算机视觉库
最近提交(Master分支:4 个月前 )
6950bedb
Use Mat::total() in Darknet IO 6 天前
105a7747
doc: update image codec configuration reference (add AVIF, fix JPEG XL) #28393
This PR updates the build configuration documentation to:
- Add AVIF to the supported format list (it was missing).
- Clarify that some codecs (AVIF, JPEG XL) do not support BUILD_* options because OpenCV does not bundle their source code.
- Update the description to include "write" capabilities for these formats.
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
7 天前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)