I made an array wit a struct for example:
#include <opencv2/opencv.hpp>
#include "utils/Configuration.h"
#include <time.h>
using namespace std;
using namespace cv;
struct plausibilitylinestruct{
int x0;
int y0;
int x1;
int y1;
float p;
} plausibilitylines[10];
How can I use member functions on the created array? C++ Refernce for array
I tried for example:
void addPlausibilitylines(vector<Vec4i> line) {
if(plausibilitylines.empty()) {
cout << "Test"<< endl;
}
}
EDIT: I added some more code