Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if you use the Mat constructor with an external data pointer, no image data will get copied (a shallow copy), as soon as your pointer from pylon gets invalid, you have a "dangling pointer" inside the Mat

you should reverse the order of operations -- first clone() the Mat, then add it to the queue