linux - Aborted (core dumped) using opencv_createsamples -
i have cloud server ubuntu 14.04 x64
i'm trying create samples with
opencv_createsamples -img pos/comedon1.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle 0.5 -maxzangle 0.5 -num 300
with files:
-opencv/ -- ... -data/ -info/ -pos/ --comedon1.jpg -- ... -neg/ -- ... -bg.txt
i have 1100 background images in neg/
listed on bg.txt
i'm getting error
create test samples single image applying distortions... *** error in `opencv_createsamples': free(): corrupted unsorted chunks: 0x0000000001c608e0 *** aborted (core dumped)
how can know if i'm getting out of memory? or may causing it? can solve error?
if positive image size bigger negative image can error.
your positive image measure must smaller negative image.
so project pos/comedon1.jpg size should bigger think.