[Unresolved] passed through the socket of char * can not be converted back to cv :: Mat

RT

The server sends to the client a Qt cv :: Mat, the client receives the parsed image overlap area will become and the case where color shift

  • Communication error
    • Results using the same transmission winsock
    • How the underlying verification?
  • Image data error
    • On the server side sends char * data according to protocol analysis back to normal picture
  • Qt turn the mat in question QImage
    • Use imshow displayed before switching mat is problematic
  • debug instead release
    • After verifying the same
  • other

Guess you like

Origin www.cnblogs.com/HY12345/p/11864443.html