1 | initial version |
The opencv cheat sheet came to the rescue. link text
it appears saving a Rect is easy, but loading it requires a few more steps:
FileNode mr = fs["myRest"];
Rect r;
r.x = (int)mr[0];
r.y = (int)mr[1];
r.width = (int)mr[2];
r.height = (int)mr[3];
so good enough :)