Hello. I have an image loaded from cv2 (I cannot load it in cv directly because I have to use ROS on it and it just has conversion to cv2) and I need to convert it to cv in order to later write it as a YAML file. Does anyone know how to do it? I looked on internet for several options, but until now I see just how to write a YAML only from cv or how to load a YAML file in as an opencv Mat. I also found several help but in c++ (and I have to work on a python script)
If someone knows how to do it and can tell me the procedure, I would be very thankful to you guys.