From 7428627272fd8823420586b242ce7cb553bcaeac Mon Sep 17 00:00:00 2001 From: Austin Van Blanton Date: Mon, 26 Aug 2013 14:56:48 -0400 Subject: [PATCH] Add any child elements of as bounding boxes --- openbr/core/bee.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+), 0 deletions(-) diff --git a/openbr/core/bee.cpp b/openbr/core/bee.cpp index f137dd3..6fed0f7 100644 --- a/openbr/core/bee.cpp +++ b/openbr/core/bee.cpp @@ -75,6 +75,21 @@ FileList BEE::readSigset(const File &sigset, bool ignoreMetadata) else if (!ignoreMetadata) file.set(key, value); } + // add bounding boxes, if they exist (will be child elements of ) + if (fileNode.hasChildNodes()) { + QList rects; + QDomNodeList bboxes = fileNode.childNodes(); + for (int i=0; i