Hi OpenCV Guys
I am new to OpenCV , I am dealing with KeyPoint and Mat class . I want to send objects of these two types from server to client using TCP connection , in TCP we need to know the size of the data in bytes to be sent through a socket . So far I am using total()*channels() to get the number of bytes in Mat Type .
My questions : 1- I am not sure if my using total()*channels() in Mat Type is correct . 2- How can I know the size of KeyPoint in BYTES .
I appreciate any help .