Trying to adapt a code that consumes an interleaved BGR image to OpenVino. If the image is copied to a planar, non-interleaved representation, things seem to be working. However, wrapping the image buffer, and using it without de-interleaving doesn't work.
The code generally follows OpenCV interop example ( https://software.intel.com/en-us/articles/OpenVINO-Inference-Engine-Optimization-Guide ). I suspect the image is still being interpreted as the default NCHW, or the models were loaded to support that layout only.
I've tried utilizing sample code's approach and explicitly calling setLayout, but that seems to have zero effect.
So the question is, whether NHWC should work, and if so, could a sample be added, to demonstrate operating on a non-default data layout format.