Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mat of int64

Hellow everybody. I have an array of tensorflow::int64 numbers like this :

tensorflow::int64 data[10] = {1,2,3,4,5,7,8,9,10,11}

now i want to initilize a Mat with this array , but opencv doesn't support CV_64SC1 or int64 datatype. can anybody help me how can create a Mat of int64 datatype and initialize it with this array ? Thank you in advance.

Mat of int64

Hellow everybody. I have an array of tensorflow::int64 numbers like this :

tensorflow::int64 data[10] = {1,2,3,4,5,7,8,9,10,11}

now i want to initilize initialize a Mat with this array , but opencv doesn't support CV_64SC1 or int64 datatype. can anybody help me how can create a Mat of int64 datatype and initialize it with this array ? Thank you in advance.