- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the right way to build OpenCV python modules for OpenCV that comes with OpenVINO?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have the same requirement to build python (cv2.so) and opencv-contrib with optimized OpenCV support, too.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The upcoming OpenVINO 2018.R2 (should be out really soon) will include OpenCV Python bindings.
As a possible temporary workaround (which is not guaranteed to work), you can take OpenCV 3.4.1-cvsdk from github (https://github.com/opencv/opencv/tree/3.4.1-cvsdk), build the Python bindings (use MSVC 2015 on Windows and the stock GCC on Linux); make sure that you passed BUILD_SHARED_LIBS=ON, BUILD_opencv_world=ON, CMAKE_SKIP_RPATH=ON. Do not run "make install"! Then take the generated cv2.pyd or cv2.so and put it somewhere where Python can find it. Hopefully, it can successfully load and use the OpenVINO libraries (you can check it with ldd on Linux)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page