Ask Your Question

DeleteMeNowPlease's profile - activity

2015-09-19 07:21:07 -0600 received badge  Enthusiast
2015-09-18 23:40:09 -0600 asked a question Is it possible to speed up traincascade with multiple threads or CUDA?

Is it possible to speed up traincascade with multiple threads or CUDA? I did compile with CUDA enabled, openCL enabled and OpenMP Enabled.

So if i cant use CUDA for traincascade / haartraining, can i use OpenMP ?

2015-09-18 09:07:02 -0600 received badge  Student (source)
2015-09-18 09:02:55 -0600 commented question Opencv 3.0 Compilation error

Seems like it. But how can i fix it? or how can i skip this module? i dont need it

2015-09-18 08:08:05 -0600 asked a question Opencv 3.0 Compilation error

Im running on ubuntu.

Im getting an error when using cmake on opencv http://pastebin.com/vuwbz3c1 compilation error at /home/summerrain/private/opencv-3.0.0/modules/videostab/src/global_motion.cpp:85:12: erro interno de compilação: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1294 what can i do? and i dont want the video module anyway, how do i skip it ?

i just want to use traincascade

2015-05-20 10:36:17 -0600 asked a question 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-calib3d

ii libopencv-calib3d2.3
2.3.1-7 computer vision Camera Calibration library

ii libopencv-contrib-dev
2.3.1-7 development files for libopencv-contrib

ii libopencv-contrib2.3
2.3.1-7 computer vision contrib library

ii libopencv-core-dev
2.3.1-7 development files for libopencv-core

ii libopencv-core2.3
2.3.1-7 computer vision core library

ii libopencv-features2d-dev
2.3.1-7 development files for libopencv-features2d

ii libopencv-features2d2.3
2.3.1-7 computer vision Feature Detection and Descriptor Extraction library

ii libopencv-flann-dev
2.3.1-7 development files for libopencv-flann

ii libopencv-flann2.3
2.3.1-7 computer vision Clustering and Search in Multi-Dimensional spaces library

ii libopencv-gpu-dev
2.3.1-7 development files for libopencv-gpu

ii libopencv-gpu2.3
2.3.1-7 computer vision GPU Processing library

ii libopencv-highgui-dev
2.3.1-7 development files for libopencv-highgui

ii libopencv-highgui2.3
2.3.1-7 computer vision High-level GUI and Media I/O library

ii libopencv-imgproc-dev
2.3.1-7 development files for libopencv-imgproc

ii libopencv-imgproc2.3
2.3.1-7 computer vision Image Processing library

rc libopencv-legacy2.3
2.3.1-7 computer vision legacy library

ii libopencv-ml2.3
2.3.1-7 computer vision Machine Learning library

ii libopencv-objdetect2.3
2.3.1-7 computer vision Object Detection library

rc 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 ... (more)