Ask Your Question

Revision history [back]

I make it with this answer from stackoverflow(https://stackoverflow.com/questions/18737842/creating-a-mat-object-from-a-yv12-image-buffer/44472269#44472269)

Understanding the nv12 format will help you to understand the code.