python debug的时候,报错
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/home/biaoli/anaconda3/envs/openmmlab/lib/python3.8/site-packages/cv2/qt/plugins” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
参考:https://stackoverflow.com/questions/57362015/how-to-fix-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was
装了
pip install opencv-python-headless