mirror of
https://github.com/opencv/opencv.git
synced 2026-10-05 04:03:32 +03:00
1. Input/OutputArray optimizations;
2. Algorithm::load/save added (moved from StatModel) 3. copyrights updated; added copyright/licensing info for ffmpeg 4. some warnings from Xcode 6.x are fixed
This commit is contained in:
1 parent
44f112a9de
commit
052593c760
34 files changed
+888
-207
No files matched your search
@@ -53,6 +53,20 @@ Algorithm::~Algorithm()
|
||||
{
|
||||
}
|
||||
|
||||
void Algorithm::save(const String& filename) const
|
||||
{
|
||||
FileStorage fs(filename, FileStorage::WRITE);
|
||||
fs << getDefaultName() << "{";
|
||||
fs << "format" << (int)3;
|
||||
write(fs);
|
||||
fs << "}";
|
||||
}
|
||||
|
||||
String Algorithm::getDefaultName() const
|
||||
{
|
||||
return String("my_object");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* End of file. */
|
||||
Reference in new issue
Block a user