mirror of
https://github.com/opencv/opencv.git
synced 2026-07-27 22:33:03 +04:00
Add a file with preprocessing parameters for deep learning networks
This commit is contained in:
@@ -269,6 +269,20 @@ FileNode FileNode::operator[](int i) const
|
||||
i == 0 ? *this : FileNode();
|
||||
}
|
||||
|
||||
std::vector<String> FileNode::keys() const
|
||||
{
|
||||
std::vector<String> res;
|
||||
if (isMap())
|
||||
{
|
||||
res.reserve(size());
|
||||
for (FileNodeIterator it = begin(); it != end(); ++it)
|
||||
{
|
||||
res.push_back((*it).name());
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
String FileNode::name() const
|
||||
{
|
||||
const char* str;
|
||||
|
||||
Reference in New Issue
Block a user