1.find the pyrcc4.exe path: C:\Anaconda2\Library\bin
2.cmd: pyrcc4 -o resources.py resources.qrc
3.after generate the resources.py,then cmd:python labelImg.py
if we not install the cv2 , then we copy the prebuild pyc from
opencv\build\python\2.7\x64/(either x86 or x64, depending on your Anaconda version)/cv2.pyd
to C:\Anaconda\Lib\site-packages
4.To get ffmpeg within opencv to work, you'll have to add the directory that ffmpeg is located in to the path (e.g., opencv/sources/3rdparty/ffmpeg).
Then you'll have to find the dll in that folder (e.g., opencv_ffmpeg_64.dll) and copy or rename it to a filename
that includes the opencv version you are installing, (e.g., opencv_ffmpeg249_64) for 2.4.9.
浙公网安备 33010602011771号