First time here? Check out the FAQ!
answered 2016-07-21 15:06:38 -0600
Currently you are encoding only 1 descriptor, change descriptors[i].data,1, to descriptors[i].data,descriptors[i].rows.
descriptors[i].data,1,
descriptors[i].data,descriptors[i].rows