What is the best way to pass a cv::Mat across a Network (TCP/UDP) and reconstruct it on the server? Any ideas? e.g. Put it in a string or any specific data-structure?
Asked
Active
Viewed 1,631 times
1 Answers
2
The same way you use to transfer any other kind of data.
It's also worth checking this post: Passing a structure through Sockets in C

Community
- 1
- 1

karlphillip
- 92,053
- 36
- 243
- 426