Load dnn from string

asked 2017-10-30 08:11:58 -0500

Solon gravatar image

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.

edit retag flag offensive close merge delete


berak gravatar imageberak ( 2017-10-30 08:25:17 -0500 )edit