Problem Description:
Here is a demonstration of other people's mistakes. I have already changed it and I don't want to change it back. The calling function of cv2 above is highlighted in yellow, and the return value of the running program is a string of garbled characters.
Problem Description: The process has ended with exit code -1073741819 (0xC0000005)
Reason for analysis: the cv2 module is not fully imported
Solution:
1. Find the interpreter
Mine is carried out in a virtual environment, open all display
Click on the fifth icon: show interpreter path
This is my path: the fourth is what is added
Click the + sign to find the cv2 in your own environment
This is my path, and then add that data, the problem is solved
After adding, click OK
The following is my code, and the yellow highlighting will solve it
If you haven't corrected my method, I would like to recommend someone's method:
Although I didn't change the way I used him, it gave me an idea