First of all, distinguish between CV and MV: OpenCV is an open source vision library, excluding hardware; while OpenMV is a small camera module with hardware and software.
Configure the opencv environment (can be divided into C++ and python)
python configuration:
- Download a suitable python version: https://www.python.org/doc/versions/zh-cn/
- Download PyCharm: https://www.jetbrains.com/pycharm/promo/anaconda/
- The steps to install "opencv-python" and "opencv-contrib-python" in PyCharm are as follows:
Enter PyCharm, click on the menu bar "File" → "Settings",
After entering the Settings, select "Project: xx" → "Project Interpreter" and click the "+" button,
This interface pops up, click "Manage Repositories" to add the mirror source,
The following are commonly used Python mirror sources:
- Tsinghua University open source software mirror site: https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
- Aliyun mirror: https://mirrors.aliyun.com/pypi/simple/
- Doubanio mirror: https://pypi.doubanio.com/simple/
- USTC Mirror: https://pypi.mirrors.ustc.edu.cn/simple/
Enter "opencv-python" and "opencv-contrib-python" to download.
C++ configuration:
Recommend a UP lecture video, quite complete https://www.bilibili.com//…