Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Load dnn from string

I am trying to load caffe dnn in opencv3.3, it looks like the only function provided is cv::dnn::readNetFromCaffe(path, path) which receives paths to prototxt and model files. However, in our project, those files are inlined to the sources. I didn't find any way to load cv::dnn::net from inline. Are there any methods excluding creating any kind of files or changing the sources of opencv?

Thank you.