Saturday, 24 August 2013

How to create matrix variable and get unsign value in python

How to create matrix variable and get unsign value in python

i want to make a variable matrix to get value from a picture in python, i
have been search i get this code in C++
Mat src, dst;
// Load an image
src = imread("book.png", CV_LOAD_IMAGE_GRAYSCALE);
and then i also want to know how to make unsign char in python, if in c++
like this
dst.at<uchar>(y,x) = 0.0;
can anyone help me?

No comments:

Post a Comment