代码测试可以正常运行。
灰度化 反转 通道分离 噪声、滤波 高斯双边滤波 均值偏移滤波 图像二值化 Canny边缘检测 直线检测 圆检测 轮廓发现 人脸检测
测试可以运行代码如下:
'''
file: ImageMiniLab.py
date: 2019/04/19 20:00
author: [email protected]
brief: opencv-python 应用
note: PyQt5 + Qt Designer + Python 3.7
'''
import cv2 as cv
# import numpy as np
# from PyQt6.QtWidgets import QMainWindow, QFileDialog, QMessageBox
# from PyQt6.QtGui import QPixmap
# from PyQt6.QtCore import Qt
# from PyQt6 import QtCore, QtGui, QtWidgets
# import sys
# # from ImageMiniLab import *
# from PyQt6.QtWidgets import QApplication
import numpy as np
from PyQt5.QtWidgets import QMainWindow, QFileDialog, QMessageBox
from PyQt5.QtGui import QPixmap
from PyQt5.QtCore import Qt
from PyQt5 import QtCore, QtGui, QtWid
标签:QtGui,检测,滤波,PyQt6,PyQt5,图像,import
From: https://blog.csdn.net/a394467238/article/details/139276186