Recently, I was learning verification code image recognition. After installing pip install opencv-python, I found that the imported method command has shading.
The solution is as follows:
Find the path to install python. After installing opencv-python , there will be a cv2 folder under site-packages.
Copy the file with the suffix pyd under the cv2 folder to site-packages, copy copy copy. As shown below
There is no such shade of color.