struct PassResult{ int errorID; string errorMsg; float* pointArray; int width; int height; int dataLength; // imageArray could be seemed as a opencv cv::Mat unsigned char* imageArray; };