I have effectively packaged, deployed, and shipped a Python application using OpenCV with cxFreeze.
http://cx-freeze.sourceforge.net/
Yes, cxFreeze automatically raised python extensions on OpenCV. I had to manually copy the OpenCV DLL (Windows), but this was a small problem that could be solved at the post-processing stage in cxFreeze. It picks up other DLLs, so I'm not sure what the problem is.
In fact, it worked so well that I was surprised. The only thing he did not pick up properly is the QT library. Basically, here were my steps (I use QT, so ignore this part if you havenโt done so):
- cxfreeze App.py --target-dir App --base-name Win32GUI --include-modules PySide.QtNetwork
- Copy the opencv \ build \ x86 \ vc9 \ bin files to the application directory.
What is it.
source share