
图像处理
DJames23
这个作者很懒,什么都没留下…
展开
-
【python】去除图片高光
参考: https://github.com/MarcioCerqueira/RealTimeSpecularHighlightRemoval 论文:Real-Time High-Quality Specular Highlight Removal using Efficient Pixel Clustering 图像增强:opencv去除图片的高光 import cv2 import os,shutil #找亮光位置 def create_mask(imgpath): image = cv2.i原创 2021-05-28 12:31:21 · 7201 阅读 · 3 评论 -
python模糊图像判断
参考博客: python模糊图片过滤的方法 cv2.Laplacian 模糊判断 利用Laplacian变换进行图像模糊检测 核心代码: def blurryImgs(files,clear_img_list): count = 0 imgfile = files[0] for img in files: if img.endswith('.jpg'): image = cv2.imread(img) gray = cv原创 2021-05-06 11:03:59 · 1501 阅读 · 0 评论