Application(Cross Platform) using cx_freeze for binding python with OpenCV Lib?

asked Nov 7 '17

Santhosh1 gravatar image

updated Nov 7 '17

Hi

I want to create a standalone application which is cross platform executable file of the current OpenCV work in python, I have done.

I found cx_freeze, which is mentioned as being cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.7 or higher (including Python 3).

I would like to know if anyone has create a similar standalone cross platform executable file for the work they have done in python using OpenCV?

Please guide and share your thoughts if cx_freeze is good enough or is there any other alternative?

Preview: (hide)

Comments

It will works on Windows 10 but will not work on linux.

supra56 gravatar imagesupra56 (Nov 7 '17)edit

please understand, that opencv is mainly a c++ library, the cv2 bindings are only shallow wrappers around that.

so, you won't be able, to make it portable between platforms.

berak gravatar imageberak (Nov 10 '17)edit