How I can get the input/output layer shape from dnn::Net object?
I need a dnn::Net object with a loaded moded and I need to know before doing a forward pass -> the shape of input layer -> the shape of output layer
In CAFFE this is very easy, but with dnn I don't know .
This link will show you what you can and cannot do: https://docs.opencv.org/trunk/db/d30/...
This may explain it https://github.com/opencv/opencv/issu...
OK, that explanation helped me. Thank you!!!