Ask Your Question

Balam's profile - activity

2020-10-24 03:21:21 -0600 received badge  Notable Question (source)
2020-10-24 03:21:21 -0600 received badge  Popular Question (source)
2015-04-22 20:37:09 -0600 received badge  Supporter (source)
2015-04-19 17:34:10 -0600 commented answer How to train my data only once

Hi Mathieu , I had the same issue as Fly and tried to do as you described below , but I had an error when I tried to predict with my loading svm ( in test stage) ,

OpenCV Error: Bad argument (The sample is not a valid vector) in cvPreparePredictData, file /build/buildd/opencv-2.4.8+dfsg1/modules/ml/src/inner_functions.cpp, line 1099 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.4.8+dfsg1/modules/ml/src/inner_functions.cpp:1099: error: (-5) The sample is not a valid vector in function cvPreparePredictData

2015-03-12 21:30:36 -0600 received badge  Enthusiast
2015-03-09 07:47:38 -0600 commented question Problem in building opencv_contrib with opencv-3.0.0-alpha

I did what you told me to did , I had same errors with another module "saliency" so I disable it , it works fine , in the 35% same errors with module" ximgproc" .. disabled ,... finally I disabled the "reg" module , but I had errors with one module that is diabled (ximgproc)... I really don't know what to do

2015-03-09 07:09:04 -0600 commented question Problem in building opencv_contrib with opencv-3.0.0-alpha

Hi again , I tried to have the beta version of opencv and it was perfectally done , when I want to build the opencv_contrib with it , I got problem. Like is mentioned here I cloned the package an do the "cmake" step successfully (it was saying : Configuration done / generating done ) , but for the final step "make -j5" or "make install" , it dosen't work probably , it was stopped in 35% , with many problems.

make[2]: * [modules/rgbd/CMakeFiles/opencv_rgbd_pch_dephelp.dir/opencv_rgbd_pch_dephelp.cxx.o] Error 1 make[1]: [modules/rgbd/CMakeFiles/opencv_rgbd_pch_dephelp.dir/all] Error 2 make[2]: [modules/ximgproc/CMakeFiles/opencv_ximgproc_pch_dephelp.dir/opencv_ximgproc_pch_dephelp.cxx.o] Error 1 make[1]: * [modul

2015-03-08 06:57:18 -0600 commented question Problem in building opencv_contrib with opencv-3.0.0-alpha

OK, I'll try to work with the beta version, and to build opencv_contrib with it.If I got problems I'll keep you informed.

2015-03-06 09:20:41 -0600 asked a question Problem in building opencv_contrib with opencv-3.0.0-alpha

Hi, I'm trying to build opencv_contrib with my opencv 3.0.0-alpha by following this Read me , and unfortunately I had also this ugly message "Configuring incomplete, errors occurred!". I need the "xfeatured" module for my project and I don't know how to fix this problem . I just copy the errors shown in my console maybe you can help me to get out of it :


CMake Error: Could not open file for write in copy operation /home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeTmp/CheckIncludeFile.c.tmp CMake Error: : System Error: Permission denied CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFile.cmake:40 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): cmake/OpenCVFindLibsVideo.cmake:158 (CHECK_INCLUDE_FILE) CMakeLists.txt:448 (include)


-- Looking for linux/videodev.h CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFile.cmake:48 (try_compile): Failed to open /home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeTmp/CMakeLists.txt


many other errors like the previous one , it tries to open some .h but it fails to o it .


-- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file


Finally , it's written that : CMake Warning at CMakeLists.txt:1091 (message): The source directory is the same as binary directory. "make clean" may damage the source tree -- Configuring incomplete, errors occurred! See also "/home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeOutput.log". See also "/home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeError.log"


Can any one help me please ?

2015-03-05 22:12:09 -0600 commented question Add Modules from opencv_contrib to opencv 3.0

@steven , did you fix it ? I have the same problem as you an I can't find any solution