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

asked 2017-11-07 00:24:50 -0500

Santhosh1 gravatar image

updated 2017-11-07 00:26:17 -0500

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?

edit retag flag offensive close merge delete

Comments

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

supra56 gravatar imagesupra56 ( 2017-11-07 05:08:35 -0500 )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 ( 2017-11-10 10:53:00 -0500 )edit