報錯如下:
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
這個問題似乎與版本有關,特別是opencv -python to 4.2.0.32
解決辦法 安裝較低版本的oepncv-python
pip3 install opencv-python==4.1.2.30