Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I solved the problem by using the getCVmat of model to extract the Matrix at specific location and then .toString() of CVmat to extract the content of matrix as string. I save the string into database. For Matching, I retrieve the String, converted the string into float array by splitting the string and casting it to float. The values are then putted into new Matrix using Mat.put(0,0,float[]).