Began listener for ui debug system

This commit is contained in:
Harrison Deng 2018-05-06 15:14:47 -05:00
parent 310b3edfcc
commit 5323f225d8
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,6 @@
*/
#include "ContourAnalyzer.h"
#include <cmath>
ContourAnalyzer::ContourAnalyzer(UI *ui) {
@ -77,7 +76,7 @@ std::string ContourAnalyzer::contourToString(std::vector<cv::Point> contour) {
if (cv::isContourConvex(contour)) {
return "rectangle";
}
/* no break */
/* no break */
default:
throw std::invalid_argument("Shape too complex!");
}

View File

@ -4,6 +4,7 @@
class UIListener {
public:
virtual UIListener();
virtual void componentSetup() = 0;
virtual ~UIListener();
};