Ask Your Question

lm35's profile - activity

2019-08-10 09:45:45 -0500 received badge  Popular Question (source)
2019-06-26 04:53:48 -0500 received badge  Famous Question (source)
2018-07-31 02:18:36 -0500 received badge  Notable Question (source)
2018-04-23 11:52:35 -0500 received badge  Popular Question (source)
2018-02-21 05:23:50 -0500 asked a question Function to find joint probability and conditional probability in OpenCV

Function to find joint probability and conditional probability in OpenCV Is there any built-in function to find Joint Pr

2017-12-14 05:11:41 -0500 commented question 2%] Built target opencv_cvv_automoc Makefile:160: recipe for target 'all' failed

Thankyou berak. Tried the first option ( -DWITH_opencv_cvv=OFF), but getting the same error. So I tried with OpenCV3.3.

2017-12-14 05:07:09 -0500 commented question 2%] Built target opencv_cvv_automoc Makefile:160: recipe for target 'all' failed

Thankyou berak. Tried the first option ( -DWITH_opencv_cvv=OFF), but getting the same error. So I tried with OpenCV3.3.

2017-12-14 05:05:20 -0500 commented question 2%] Built target opencv_cvv_automoc Makefile:160: recipe for target 'all' failed

Thankyou berak. Tried the first option ( -DWITH_opencv_cvv=OFF), but getting the same error. So I tried with OpenCV3.3.

2017-12-14 00:42:21 -0500 asked a question 2%] Built target opencv_cvv_automoc Makefile:160: recipe for target 'all' failed

2%] Built target opencv_cvv_automoc Makefile:160: recipe for target 'all' failed Tried to build with "cmake -D CMAKE_BUI

2017-07-11 07:37:11 -0500 received badge  Famous Question (source)
2017-07-03 15:02:48 -0500 received badge  Famous Question (source)
2017-04-05 08:50:42 -0500 received badge  Notable Question (source)
2017-03-08 07:14:05 -0500 received badge  Notable Question (source)
2017-03-07 23:25:37 -0500 asked a question Face recognition for real time video using LBPH returns "Timeout when trying to acquire hash specific lock for nodemap creation"

I was trying to implement Face recognition using LBPH recognizer, the code returns segmentation error while compiling at the point of "model->perdict()"

I tried to analyze the error using 'strace', which gave the error as

write(2, "An exception occurred.", 22An exception occurred.) = 22 write(2, "\n", 1 ) = 1 write(2, "Timeout when trying to acquire h"..., 132Timeout when trying to acquire hash specific lock for nodemap creation. Lock name = 'GenICam_XML_0xccc16d9f7e184356e18692846d94316c') = 132 write(2, "\n", 1 ) = 1 write(2, "\n", 1 ) = 1 write(2, "Press Enter to exit.", 20Press Enter to exit.) = 20 write(2, "\n", 1 ) = 1 fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fadd2790000 read(0, ^CProcess 3427 detached

Can someone help in resolving the issue

Im doing real time face recognition from live video feed. The steps that I follow are as follows 1. Detect the face using "LBP_cascade.detectMultiScale(gray, faces)" 2. The detected faces from each frame(case: multiple faces in single frame) is accessed one by one, and covert each face to 'Rect', then that to Mat 3. The Mat vector is then given to model->predict,. (Note: the image is not resized to the size of training image, before passing it for recognition)

2017-01-24 16:12:31 -0500 received badge  Popular Question (source)
2016-11-14 03:19:21 -0500 commented answer How to tile multiple live camera feeds in one window

OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /home/valuser/opencv-2.4.13/modules/core/src/matrix.cpp, line 323 terminate called after throwing an instance of 'cv::Exception' what(): /home/valuser/opencv-2.4.13/modules/core/src/matrix.cpp:323: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function Mat Got above error for belo tile setting. (img size = 700x400) r1 = Rect(0,0,2700, 2400) r2 = Rect(original_resized.cols-1,0,2700, 2400);
r3 = Rect(0,original_resized.rows-1,2700, 2400); r4 = Rect(original_resized.cols-1,original_resized.rows-1,2700, 2400

2016-11-10 04:07:30 -0500 commented question Opencv 2.4.9 or Opencv 3.0 for GPU acclerated CUDA

You can you any. Always use the latest version. Note: with Opencv 3.0 the contrib module comes as a separate package called opencv_contrib which you have to download and build saparately. while doing so make sure that your opencv nad opencv_contrib are of same version

2016-10-28 01:55:00 -0500 commented question Getting error "The called functionality is disabled for current build or platform in function throw_no_cuda Aborted (core dumped)"

Got solution refer this link

2016-10-27 07:15:17 -0500 commented question Getting error "The called functionality is disabled for current build or platform in function throw_no_cuda Aborted (core dumped)"

Found that this is because Opencv was compiled without WITH_NVCUVID=ON, So again ran cmake with WITH_NVCUVID=ON but got error while running make

2016-10-27 00:50:36 -0500 asked a question Getting error "The called functionality is disabled for current build or platform in function throw_no_cuda Aborted (core dumped)"

I was running the sample code video_reader.cpp from "samples/gpu". Mine is Ubuntu 16.04 with Opencv3.1.0 and with CUDA8.0 enabled. While running the code I got the below error .

OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda, file /home/opencv/modules/core/include/opencv2/core/private.cuda.hpp, line 101 terminate called after throwing an instance of 'cv::Exception' what(): /home/opencv/modules/core/include/opencv2/core/private.cuda.hpp:101: error: (-213) The called functionality is disabled for current build or platform in function throw_no_cuda.

is this link explaining the same issue. I doubt because the link refer to an old version of Opencv.

please help.

Below is what I get when i run with 'ltrace'

"_ZN2cv9cudacodec17createVideoReaderERKNS_6StringE(0x7ffe6117e060, 0x7ffe6117e0f0, 0x7ffe6117e0f0, 102OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda, file /home/amma/opencv/modules/core/include/opencv2/core/private.cuda.hpp, line 101 '

2016-10-26 23:03:09 -0500 asked a question GpuMat type varibale declaration "int type" significance

From Reference its given that

//! constructs GpuMat of the specified size and type

GpuMat(int rows, int cols, int type);

GpuMat(Size size, int type);

what is this "int type". Is it something like CV_8UC3 ..etc, that we use for "Mat" type.

It is given that

int cv::cuda::GpuMat::type ( ) const

will returns element type. I dont understand what is meant by "element type" and what should be its value.

Please help.

2016-10-25 04:30:04 -0500 commented question Converting cvMat to GpuMat gives segmentation fault

Image data that Mat cv_img holds have got rows =958 and coulmns = 1278. is this beyond the limit for GpuMat ?

2016-10-24 08:15:23 -0500 commented question Converting cvMat to GpuMat gives segmentation fault

added code here

2016-10-24 08:03:49 -0500 commented question Converting cvMat to GpuMat gives segmentation fault

image is a continuous video frame

2016-10-24 07:54:22 -0500 asked a question Converting cvMat to GpuMat gives segmentation fault

I am converting "cv_img = cv::Mat(ptrGrabResult->GetHeight(),ptrGrabResult->GetWidth(), CV_8UC3,(uint8_t*)image.GetBuffer());" into GpuMat using "d_frame= GpuMat(cv_img);"

where d_frame is declared as cv::cuda::GpuMat d_frame;

at the conversion im getting segmentation fault. please suggest a solution . I referred the following linkStackoverflow, OpencvQ&A

2016-10-22 07:19:51 -0500 commented question Building OpenCV 3.0.0 with CUDA, GIG E Vision and QT support

I have done Opencv 3.1.0 installation with CUDA and QT enabled. I think there is no need to build Opencv specifically with Gige support. Because im using opencv with Gige cameras, and that Opencv was not installed specifically for Gige. It supports by default I think.

2016-10-20 06:10:26 -0500 commented question Where to find /opencv2/gpu/gpu.hpp in Opencv 3.1.0

@berak can you please suggest a link from where I can get knowledge of GPU coding for OpenCV 3.1.0 I couldn't find anything other than this link

2016-10-20 06:02:53 -0500 commented question Where to find /opencv2/gpu/gpu.hpp in Opencv 3.1.0

Yeah, you are correct I am using a code from link, which used older versions of OpenCV and CUDA. thankyou.

2016-10-20 05:58:16 -0500 commented question Not able to install OpenCV3.1 in Ubuntu16.04 (CUDA 8.0)

Try this cmake lines which the compute capability changed to that of yours cmake -D CUDA_ARCH_BIN=3.5 -D CUDA_ARCH_PTX=3.5 CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D BUILD_TIFF=ON -D WITH_QT=ON -D WITH_OPENGL=ON ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D CUDA_GENERATION=Kepler -D CUDA_NVCC_FLAGS="-D_FORCE_INLINES" ..

2016-10-20 05:54:32 -0500 asked a question Where to find /opencv2/gpu/gpu.hpp in Opencv 3.1.0

I have recently installed OpenCV 3.1.0 from git, with CUDA enabled while installation. Now when I try to compile my code using a Makefile , I get the following error. fatal error: opencv2/gpu/gpu.hpp: No such file or directory compilation terminated. When I checked /usr/local/include/opencv2/gpu (where gpu.hpp resides in earlier versions of openCV), I couldn't find that. Is there any equivalent to this file in OpenCV3.1.0. Or am I doing or understanding something in the wrong way.

Please help

2016-10-20 05:30:39 -0500 commented question cannot find gpu.hpp

I too have the same issue. I downloaded the latest OpenCV(3.1.0) file yesterday and did the installation, Following is my error fatal error: opencv2/core/gpumat.hpp: No such file or directory

Could not find gpu.hpp in "/usr/local/include/opencv2/gpu/

2016-10-19 04:47:12 -0500 commented answer Problem getting CUDA to work on OpenCV3 latest clone

@StevenPuttemans Thankyou for your guidance. Installation was successful.

2016-10-19 04:44:23 -0500 commented question Opencv 3.0 and GCC 5.3 and later support

With Opencv 3.1.0 and Ubutnu 16.04 i got the error with Gcc version in compiling CUDA 7.0 files. So before installing Opencv I installed CUDA 8.0 and then went for OpenCV installation. Also installed the required Nvidia driver My cmake "cmake -D CUDA_ARCH_BIN=3.5 -D CUDA_ARCH_PTX=3.5 CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D BUILD_TIFF=ON -D WITH_QT=ON -D WITH_OPENGL=ON ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D CUDA_GENERATION=Kepler -D CUDA_NVCC_FLAGS="-D_FORCE_INLINES" .. "

2016-10-18 04:00:05 -0500 commented answer Problem getting CUDA to work on OpenCV3 latest clone

@StevenPuttemans can you please provide a link that I can follow to install OpenCV 3.1.0 with Cuda 7.5 enabled, mine is Ubuntu 16.04. I had so many issues while installing OpenCV with Cuda enabled in 14.04. Now I upgraded to 16.04 and trying to do the installation. Can you please provide a useful link for reference.

2016-10-18 02:04:39 -0500 asked a question Opencv 3.0 and GCC 5.3 and later support

My ubuntu version is 16.04 LTI and I am going to install Opencv 3.0 in that machine. While doing the installation I came across a bug report in the link link text. The link says about GCC supported by OpenCV in Ubuntu 16.04. Is that fixed or will there be problem in compiling OpenCV c++ code in Ubuntu 16.04. I am using CUDA 7.5 also, so my OpenCV code will be running on GPU.

2016-10-06 03:06:30 -0500 commented question How to compile a sample code written using Opencv cpp libraries and CUDA .

From link text, I read the following By default, the OpenCV CUDA module includes: Binaries for compute capabilities 1.3 and 2.0 (controlled by CUDA_ARCH_BIN in CMake) PTX code for compute capabilities 1.1 and 1.3 (controlled by CUDA_ARCH_PTX in CMake) So while running cmake can I add CUDA_ARCH_PTX = 3.5 and CUDA_ARCH_BIN = 3.5, since Teslak40's CC is 3.5. Does the note in the link says that Opencv can take only value 1.3,1.1,2.0 as default and will not accept 3.5 ???

2016-10-06 00:56:24 -0500 asked a question Opencv 2.4.9 or Opencv 3.0 for GPU acclerated CUDA

I have installed Opencv 2.4.9 in my Ubuntu machine with CUDA support. But doubtful if Opencv 3.0 only can serve my purpose. I am doing face detection and recognition . Can I go with Opencv 2.4.9 or do I have to install Opencv 3.0.

Thanks in advance

2016-09-03 02:06:43 -0500 commented question How to compile a sample code written using Opencv cpp libraries and CUDA .

Can you please be a bit more elaborate on " I have a Quadro K2000 card and it only supports 3.0, adding 3.5 gives tons of similar errors!".. By "adding 3.5 gives " what do you mean. Sorry in advance for silly queries.

2016-09-01 06:40:12 -0500 commented question How to compile a sample code written using Opencv cpp libraries and CUDA .

Mine is Tesla k40 with compute capability of 3.5

2016-09-01 03:51:48 -0500 commented question How to compile a sample code written using Opencv cpp libraries and CUDA .

Following are my OpenCV installation results related to CUDA

Use Cuda: YES (ver 7.5)

-- Use OpenCL: YES

-- NVIDIA CUDA -- Use CUFFT: YES -- Use CUBLAS: NO -- USE NVCUVID: NO -- NVIDIA GPU arch: 35 30 -- NVIDIA PTX archs: -- Use fast math: NO**

Also while installation i kept 'CUDA_GENERATION=Auto', since I was getting error. Actual architecture is Kepler