Skip to content

Commit

Permalink
debug drawing added
Browse files Browse the repository at this point in the history
  • Loading branch information
flow79 committed Aug 11, 2017
1 parent ca92b32 commit 3c546c8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Modules/Forms/src/Forms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,18 +374,16 @@ QSharedPointer<nmc::DkImageContainer> FormsAnalysis::runPlugin(
qDebug() << "Match template...";
formF.matchTemplate();





resultImg = formF.drawLinesNotUsedForm(drawImg);
cv::cvtColor(resultImg, resultImg, CV_BGR2RGBA);
result = rdf::Image::mat2QImage(resultImg);
imgC->setImage(result, "Lines not used");
imgC->setImage(result, "lines not used");

resultImg = formF.drawLines(drawImg);
cv::cvtColor(resultImg, resultImg, CV_BGR2RGBA);
result = rdf::Image::mat2QImage(resultImg);
imgC->setImage(result, "Lines used");
imgC->setImage(result, "all detected lines");

//resultImg = formF.drawMaxClique(drawImg,10, 2);
//cv::cvtColor(resultImg, resultImg, CV_BGR2RGBA);
Expand Down

0 comments on commit 3c546c8

Please sign in to comment.