report: added --gt option to input external ground truth file. DBViewer: fixed crash when unchecking "Ignore intermediate nodes".

This commit is contained in:
matlabbe
2023-10-27 17:10:10 -07:00
parent 8da6ea1707
commit 08d0ef7408
5 changed files with 279 additions and 111 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ cv::Mat Link::uncompressUserDataConst() const
Link Link::merge(const Link & link, Type outputType) const
{
UASSERT(to_ == link.from());
UASSERT_MSG(to_ == link.from(), uFormat("merging this=%d->%d to link=%d->%d", from_, to_, link.from(), link.to()).c_str());
UASSERT(outputType != Link::kUndef);
UASSERT((link.transform().isNull() && transform_.isNull()) || (!link.transform().isNull() && !transform_.isNull()));
UASSERT(infMatrix_.cols == 6 && infMatrix_.rows == 6 && infMatrix_.type() == CV_64FC1);