bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.39k stars 1.56k forks source link

Is there an elegant way to convert processed Mat back to Frame #2198

Open steeveen opened 4 months ago

steeveen commented 4 months ago

The problem I meeting is that I use ToOrgOpenCvCoreMat converting frame to mat1. I generate mat2 from mat1. When I try to convert mat2 back to frame, I see all frame Info are missed in my newFrame. I seeOpenCVFrameConverter:178:isEqual comparing the address between frame.images and mat. Is there an elegant way to archieve my goal?