1 | initial version |
What you have to do is store your frame in a Mat element and loop over it using the at functor. This will need the following code
Mat frame;
// To get data
frame.at<uchar>(i,j)
Also, please try to put more clear questions ... your question should not be found inside sample code.