You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a FLIR purethermal 3 module. I can get the video frame using OpenCV VideoCap in c++. How can I convert this OpenCV Mat data to actual temperature value?
#include<iostream>
#include<opencv2/core/core.hpp>
#include<opencv2/videoio/videoio.hpp>
#include<opencv2/highgui/highgui.hpp>usingnamespacestd;usingnamespacecv;intmain()
{
VideoCapture cap(0);
if (!cap.isOpened())
{
cout << "Cannot open camera\n";
return1;
}
Mat frame;
while (true)
{
bool ret = cap.read(frame);
if (!ret)
{
cout << "Can't receive frame (stream end?). Exiting ...\n";
break;
}
imshow("live", frame);
if (waitKey(1) == 'q')
{
break;
}
}
return0;
}
The text was updated successfully, but these errors were encountered:
I have a FLIR purethermal 3 module. I can get the video frame using OpenCV VideoCap in c++. How can I convert this OpenCV Mat data to actual temperature value?
The text was updated successfully, but these errors were encountered: