python opencv test
import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('20230222100736979.jpg', 0) hist = cv2.calcHist([img], [0], None, [256], [0, 256]) plt.plot(hist) plt.show()
#################
QQ 3087438119