open-mmlab / denseflow

Extracting optical flow and frames

Home Page:https://open-mmlab.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault core dump

jasorsi13 opened this issue · comments

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.

Could you please provide more details on how to modify it? I very much appreciate it. @jasorsi13