Getting image to a pointer from frame without memory copy

hello anugrah,

please see-also this topic, Topic 83012, there’s a patch to modify the sample for using cv::Mat