object recognition using haarcascades

by: arup_dhar, 23 days ago

i am getting an error message while i want to access the positive image
currently i am in the opencv_workspace /directory of the root folder
and created 2 directories named data and info and now i've written this part of code
to create some positive samples now, based on the watch5050.jpg image. To do this, run the following via the terminal, while in the workspace
opencv_createsamples -img watch5050.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle 0.5 -maxzangle 0.5 -num 1950  

the error which i am getting is:-
Info file name: info/info.lst
Img file name: watch5050.jpg
Vec file name: (NULL)
BG  file name: bg.txt
Num: 1950
BG color: 0
BG threshold: 80
Invert: FALSE
Max intensity deviation: 40
Max x angle: 0.5
Max y angle: -0.5
Max z angle: 0.5
Show samples: FALSE
Width: 24
Height: 24
Create test samples from single image applying distortions...
*** Error in `opencv_createsamples': free(): corrupted unsorted chunks: 0x0000556672660490 ***
Aborted (core dumped)

can anyone please help me to fix this error??????

You must be logged in to post. Please login or register an account.