Ask Your Question

r's profile - activity

2017-06-13 06:34:07 -0500 received badge  Popular Question (source)
2014-02-25 10:37:45 -0500 asked a question Load CSV file as cv::Mat

I save a cv::Mat as a CSV file which works fine, but when I go to load it and convert it back into a cv::Mat something is being corrupted. When I print out the contents of the cv::Mat they are different from that of the csv file. And when I show the Mat object I get a wide white window.

cv::imwrite("cameraFrame1.jpg", frame);
outFile.open("cameraFrame1.csv");
outFile << cv::format(frame, "CSV") << std::endl;
outFile.close();

...

CvMLData mlData;
mlData.read_csv("cameraFrame1.csv");
const CvMat* tmp = mlData.get_values();
cv::Mat img(tmp, true);
tmp->CvMat::~CvMat();

std::cout << "img: " << img << std::endl;

cv::namedWindow("img");
cv::imshow("img", img);
cv::waitKey(0);
2014-02-19 10:30:10 -0500 received badge  Editor (source)
2014-02-19 10:25:56 -0500 asked a question Running Pleora EBus SDK samples all timeout

Hey,

I'm currently trying to use the pleora sdk in order to connect to a FLIR AX5 thermal camera. I've tried to run all of the sample programs, found in ebus_sdk/share/sample. However, when I attempt to run them I am able to select the camera but all of the connections timeout.

But I am able to run the GEVPlayer without any issues.

I am running ubuntu 12.04

EBus_SDK Pleora_eBUS_SDK_2.2.3.2436_redhat-EL-5.4-64bit