OpenCV opencv_traincascade.exe Hangs on Ubuntu Server
Hi OpenCV Forum.
Im studying Haar Classifiers and im trying to run haartraining on my university server. But it hangs and crashes. Although on Windows, it runs fine.
Im using low quantity of positives and negatives just to test.
On Windows i downloaded the last version 3.0 RC1 , if im not mistaken, im sure its 3.+
Anyway, tonight i tried to let it running on the server and when i woke up the process was gone. No Cascades on folder or any log whatsoever.
Im pushing my repo on mercurial and if anyone could point me to the right direction i would appreciate.
I checked the version of opencv on the server and found this :
dpkg -l | grep opencv
ii libopencv-calib3d-dev
2.3.1-7 development files for libopencv-calib3dii libopencv-calib3d2.3
2.3.1-7 computer vision Camera Calibration libraryii libopencv-contrib-dev
2.3.1-7 development files for libopencv-contribii libopencv-contrib2.3
2.3.1-7 computer vision contrib libraryii libopencv-core-dev
2.3.1-7 development files for libopencv-coreii libopencv-core2.3
2.3.1-7 computer vision core libraryii libopencv-features2d-dev
2.3.1-7 development files for libopencv-features2dii libopencv-features2d2.3
2.3.1-7 computer vision Feature Detection and Descriptor Extraction libraryii libopencv-flann-dev
2.3.1-7 development files for libopencv-flannii libopencv-flann2.3
2.3.1-7 computer vision Clustering and Search in Multi-Dimensional spaces libraryii libopencv-gpu-dev
2.3.1-7 development files for libopencv-gpuii libopencv-gpu2.3
2.3.1-7 computer vision GPU Processing libraryii libopencv-highgui-dev
2.3.1-7 development files for libopencv-highguiii libopencv-highgui2.3
2.3.1-7 computer vision High-level GUI and Media I/O libraryii libopencv-imgproc-dev
2.3.1-7 development files for libopencv-imgprocii libopencv-imgproc2.3
2.3.1-7 computer vision Image Processing libraryrc libopencv-legacy2.3
2.3.1-7 computer vision legacy libraryii libopencv-ml2.3
2.3.1-7 computer vision Machine Learning libraryii libopencv-objdetect2.3
2.3.1-7 computer vision Object Detection libraryrc libopencv-video2.3
2.3.1-7 computer vision Video analysis library
- To execute my haar, i cd to my folder location and i type :
opencv_traincascade -data cascades -vec vector\vector.vec -bg bg.txt -numPos 40 -numNeg 50 -numStages 10 -mode ALL -w 50 -h 50 -maxFalseAlarmRate 0.4 -precalcValBufSize 1024 -precalcIdxBufSize 1024
The bg.txt , i had to go into my ubuntu and open the file and save as linux compatible.Because windows txt is different. So that part is fixed.
The sample creation on windows, i did it like this : opencv_createsamples.exe -info positive/info.txt -vec vector/vector.vec -num 48 -w 50 -h 50
* Right now i will try to execute the command again on the Ubuntu Server and see if it shows anything else. But i doubt.
Would anyone confirm if the packages on the server is outdated? Because that might be the problem? Another thing that came to mind is that.. im using the opencv from the packages right? Would anyone link me a linux compiled traincascade.exe for me? so i can ...