Saving an Opencv Mat into a YAML file using python
Hello, Does anyone know how to save, write, convert, etc an Opencv Mat into a YAML file using python?
I tried with cv.Save but it tells me "Cannot identify type of 'structPtr'", and with ImWrite it tells me error: "(-2) could not find a writer for the specified extension in function imwrite"
Thanks a lot for your help.
please, avoid the outdated cv module in python at all cost . it is no more available in current 3.0
can't you just use numpy to save it to a text file ?