You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 项目介绍
本项目完成了一个综合性的数字图像处理系统涵盖了21个基础图像处理功能、人脸识别模块、车牌识别模块和动物检测模块将图像处理算法结果可视化以便于用户学习。
### 环境配置
1.通过 pip 升级 OpenCV为最新版本:
> pip install --upgrade opencv-python pip install --upgrade opencv-contrib-python
2.本地安装YOLOv3权重文件yolov3.weights将下载的文件保存在yolo目录下。
下载链接https://pjreddie.com/media/files/yolov3.weights
3.本地安装tesseract项目使用tesseract版本如下。
> C:\Users\26655>tesseract -v tesseract v5.4.0.20240606 leptonica-1.84.1 libgif 5.2.1 : libjpeg 8d (libjpeg-turbo 3.0.1) : libpng 1.6.43 : libtiff 4.6.0 : zlib 1.3 : libwebp 1.4.0 : libopenjp2 2.5.2 Found AVX2 Found AVX Found FMA Found SSE4.1 Found libarchive 3.7.4 zlib/1.3.1 liblzma/5.6.1 bz2lib/1.0.8 liblz4/1.9.4 libzstd/1.5.6
4.tesseract语言包下载。
下载 chi_sim.traineddata放到/安装路径/Tesseract-OCR/tessdata路径下。
下载链接https://github.com/tesseract-ocr/tessdata
5.在系统环境变量Path中添加你的tesseract-OCR的安装路径比如D:\Program Files\Tesseract-OCR。