Reading net from std::ifstream
authorasciian <asciian@users.noreply.github.com>
Sun, 18 Mar 2018 02:21:58 +0000 (11:21 +0900)
committerDmitry Kurtaev <dmitry.kurtaev+github@gmail.com>
Mon, 9 Jul 2018 07:02:05 +0000 (10:02 +0300)
commit61d8719b8de9e29d731c2830aad47d748cf30ab9
tree54700ac09ff48ea5110e7266e5cf3647414971be
parent0fd74fa177e7d73a77abfededd8814ac3501aaf5
Reading net from std::ifstream

Remove some assertions

Replace std::ifstream to std::istream

Add test for new importer

Remove constructor to load file

Rename cfgStream and darknetModelStream to ifile

Add error notification to inform pathname to user

Use FileStorage instead of std::istream

Use FileNode instead of FileStorage

Fix typo
modules/dnn/include/opencv2/dnn/dnn.hpp
modules/dnn/src/darknet/darknet_importer.cpp
modules/dnn/src/darknet/darknet_io.cpp
modules/dnn/src/darknet/darknet_io.hpp
modules/dnn/test/test_darknet_importer.cpp