-
Notifications
You must be signed in to change notification settings - Fork 883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cv::Rect in a struct pack - unpack #1052
Comments
You need to prepare the adaptor for |
Hi Again, Is below approach is correct? I want to send AlpDetectionsthrough zmq
|
See https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_tutorial and othre documents. |
@redboltz for above struct:
deserializing :: zmq::message_t contents;
gives erro r: : terminating with uncaught exception of type msgpack::v1::type_error: std::bad_cast |
I don't know about zmq. |
See also https://github.com/msgpack/msgpack/blob/master/spec.md |
@can we directly cast to the coming object for AlpDetection ?
|
Hi,
I have below struct and msg_pack:
it gives :
../libs/postprocesses/alpullu/messaging.h:32:1: required from here │··········
/usr/local/include/msgpack/v1/object.hpp:647:7: error: ‘class cv::Rect_’ has no member named ‘msgpack_unpa│··········
ck’ │··········
647 | v.msgpack_unpack(o.convert());
what is the best practices for above vector of struct pack and unpack in C++
Best
The text was updated successfully, but these errors were encountered: