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
Mat image;
image = imread(argv[1], CV_LOAD_IMAGE_COLOR); // Read the file
if(! image.data ) // Check for invalid input
{
cout << "Could not open or find the image" << std::endl ;
return -1;
}
from the rti-dds code:
/* Get a new sample before every write. This data sample can come from a
free sample or a previously written sample which is ready for reuse. */
I am using opencv to read camera image/saved image, and I am confused how to pass the image to the instance.
Eg:
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include
using namespace cv;
using namespace std;
Mat image;
image = imread(argv[1], CV_LOAD_IMAGE_COLOR); // Read the file
from the rti-dds code:
/* Get a new sample before every write. This data sample can come from a
free sample or a previously written sample which is ready for reuse. */
how do provide this image/image properties to instance?
The text was updated successfully, but these errors were encountered: