Python+OpenCV3.3图像处理视频教程 贾志刚1

1、概述与环境搭建

pip install opencv-python

pip install opencv-contrib-python

pip install pytesseract

测试:

import cv2 as cv

print("--------- Python OpenCV Tutorial ---------")
src = cv.imread("D:/vcprojects/images/dog.jpg")
cv.namedWindow("input image", cv.WINDOW_AUTOSIZE)
cv.imshow("input image", src)
cv.waitKey(0)

cv.destroyAllWindows()

结果:
Python+OpenCV3.3图像处理视频教程 贾志刚1_第1张图片
--------- Python OpenCV Tutorial ---------

你可能感兴趣的:(贾志刚)