Ask Your Question

Revision history [back]

DNN, loading of models and order of channels

Hello,

The following questions are relevant for version 3.3.1:

1) The default ordering for Tensorflow is N H W C; blobFromImage, however, returns N C H W order, which is fine , but what types of ordering does readNetFromTensorflow support to comply with that ? Should we from Tensorflow/Keras side change ordering to NCHW before exporting the model to OpenCV?

2) How does readNetFromTensorflow process fully connected and convolutional layers not to mess up with ordering ?

3) Are there any differences in OpenCV 3.4+ ?