While saving an image capture as PGM format in a loop, the opencv library crashes on second iteration. The function which crashes is imwrite("out.pgm", gray_image, compression_params).
Is there a workaround to solve this?
Thanks
Deepth
↧