Instantly share code, notes, and snippets.

@ShXck /ej.cpp
Created Nov 15, 2017

What would you like to do?
string bytes = "p,T04◘4◘♦64♣£318♦T-"; // Construya este string con los bytes que da la función de mat_to_byte() concatendo cada posición.
char* c_bytes = bytes.c_str();
vector<byte> vec;
for( int i = 0; i < bytes.lenght(); i++) {
vec.push_back( c_bytes[i] );
Mat m = bytes_to_mat( vec, 480,480 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment