Segmentation fault core dump
jasorsi13 opened this issue · comments
jasorsi13 commented
I was facing segmentation fault core dump as It was writing the images back to disk. This worked.
import imageio ###conda install -c conda-forge imageio
replace all cv2.imwrite() or scipy.misc.imsave() to imageio.imwrite()
This is a mutex issue in new opencv releases. Always use imageio to write images back to the disk.
Please do the C++ equivalent of this.
Xi Yu commented
Could you please provide more details on how to modify it? I very much appreciate it. @jasorsi13