python的opencv入门2
# -*- coding: utf-8 -*-
"""
Created on Tue Apr 20 15:30:26 2021
@author: xf
"""
import cv2
import numpy as np
from PIL import Image, ImageDraw, ImageFont
#图片名
picture_name = "bizhi1.jpg"
#图片路径
path = r"F:\pypicture"
# 生成图片
img = cv2.imread(path + "\\".
原创
2021-04-21 14:46:34 ·
248 阅读 ·
0 评论