One of the great features of OpenCV's dnn module is being able to load trained models from three very popular frameworks: Caffe, Torch, and TensorFlow. Not only does it makes the dnn module very useful, but also it opens up the possibility of combining models from different frameworks into a single pipeline. In this recipe, we will learn how to work with networks from these three frameworks.
Loading deep learning models from Caffe, Torch, and TensorFlow formats
Getting ready
Before you proceed with this recipe, you need to install the OpenCV 3.3.1 (or higher) Python API package.