Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Your callback could look like:

void streamCallback(vision_ros::img_msg)
{
    cv::Mat cv_frame = cv_bridge::toCvCopy( imsg.frame, "mono8" /* or other encoding */ )->image;
}