How would one go about initializing the axis camera in the 2012 vision sample in C++and get an image? At this point, we’ve tried two methods.
Our camera is initialized exactly as it was in the 2010 vision sample. Here is how we tried to retrieve an image.
ColorImage* image; image = axisCamera.GetImage();
I understand that this returns an HSLImage. Does that matter?
We’ve also tried this:
ColorImage* image; axisCamera.GetImage(image);
This just causes us to lose communication. We don’t really know why.
Please, enlighten us.