Interprocess communication between C++ and Python using ZeroMQ
- Windows
- Visual Studio
- Python3.6
- OpenCV
- Tensorflow and Keras
- Clone ZeroMQ
- Use CMake to generate VS solution file
- Build the solution file to generate libs and dlls
- Download ZeroMQ C++ wrapper cppzmq (zmq.hpp is needed)
Install zmq
pip install zmq
- Compile
cpp_python_com.cpp
to generate an execution file - Put images in
sample
directory (JPG only) - Run the execution file
classify.py
returns VGG16 classification results for the images