Merge pull request #6375 from ohnozzy:Bug-Fix-for-Issue-6288

This commit is contained in:
Maksim Shabunin 2016-04-13 07:51:33 +00:00
commit fc9f7cc925

View File

@ -1130,6 +1130,23 @@ void operator >> (const FileNode& n, std::vector<_Tp>& vec)
it >> vec;
}
/** @brief Reads KeyPoint from a file storage.
*/
//It needs special handling because it contains two types of fields, int & float.
static inline
void operator >> (const FileNode& n, std::vector<KeyPoint>& vec)
{
read(n, vec);
}
/** @brief Reads DMatch from a file storage.
*/
//It needs special handling because it contains two types of fields, int & float.
static inline
void operator >> (const FileNode& n, std::vector<DMatch>& vec)
{
read(n, vec);
}
//! @} FileNode
//! @relates cv::FileNodeIterator