Exception with drawKeypoints & output mat

you need to provide complete (but minimal) source code. that means runnable or as close to runnable as possible. “slice-of-life” pseudocode, ordered or not, won’t do. especially BytestoMat needs to be revealed, as well as frameData and all interactions across its whole lifetime. you are still keeping a source of problems from us.