I used to be able to hover the mouse over the displayed image and get the pixel value in real time at the bottom of the window.
I am not sure why is that not working anymore, I use Python 3.9.7 and OpenCV 4.5.5 on windows 10, is there a specific version of python+oopencv where that works?
import cv2
img = cv2.imread("testImage.jpg")
cv2.imshow("img", img )
cv2.waitKey()
cv2.destroyAllWindows()