![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
每天一点python
文章平均质量分 99
重糖爱好者
斯坦福大学计算机视觉博士
展开
-
python-opencv 日常使用笔记
# 找出最大灰度值 def maxGrayLevel(img): max_gray_level = 0 (height, width) = img.shape # print # height, width for y in range(height): for x in range(width): if img[y][x] > max_gray_level: max_gray_level原创 2021-01-03 22:14:29 · 416 阅读 · 0 评论 -
每天学一点python——GUI遍历文件夹
# -*- coding:utf-8 -*- #author: #time: 2020/8/24 import tkinter as tk from tkinter import filedialog from tkinter import ttk import os import cv2 as cv from PIL import Image #Iterate over the folders def iter_files(rootDir, extend_name): file_list =原创 2020-08-24 17:06:32 · 291 阅读 · 0 评论