Ask Your Question

Scherady's profile - activity

2020-09-24 01:18:39 -0600 received badge  Notable Question (source)
2020-03-07 21:33:49 -0600 received badge  Popular Question (source)
2019-05-15 05:21:44 -0600 received badge  Notable Question (source)
2019-05-15 05:21:44 -0600 received badge  Popular Question (source)
2019-03-13 04:04:37 -0600 received badge  Student (source)
2018-02-04 04:29:36 -0600 asked a question Errors using OpenCV with opencv_contrib on Xcode

Errors using OpenCV with opencv_contrib on Xcode For my application running on iPhone I am using OpenCV using opencv2.fr

2017-09-26 23:56:52 -0600 answered a question iOS - Xcode - OpenCV - findContours error

Solved by changing Point to cv:Point in std::vector<std::vector<cv:Point> > contours;

2017-09-23 12:44:16 -0600 commented answer iOS - Xcode - OpenCV - findContours error

No error is thrown before findContours and adding CV_Assert(srcImage.type() == CV_8UC1); before findContours did not hel

2017-09-23 11:08:57 -0600 commented answer iOS - Xcode - OpenCV - findContours error

No error is thrown before findContours and CV_Assert(srcImage.type() == CV_8UC1); before findContours did not help neith

2017-09-23 11:02:15 -0600 commented answer iOS - Xcode - OpenCV - findContours error

No error is thrown before findContours

2017-09-23 10:09:02 -0600 commented answer iOS - Xcode - OpenCV - findContours error

is cvtColor( srcImage, srcImage, CV_BGR2GRAY ); not making srcImage single channel ? adding srcImage.convertTo(src

2017-09-23 10:08:37 -0600 commented answer iOS - Xcode - OpenCV - findContours error

is cvtColor( srcImage, srcImage, CV_BGR2GRAY ); not making srcImage single channel ? adding srcImage.convertTo(src

2017-09-23 04:16:08 -0600 asked a question iOS - Xcode - OpenCV - findContours error

iOS - Xcode - OpenCV - findContours error findContours causes the following error: 2017-09-22 16:50:05.396700+0200 O

2015-09-15 15:06:12 -0600 commented question OpenCV Unspecified error - cvShowImage

Strange! I followed your advice and I tried to recompile with 2.1 instead of 3.2 but I got this error: [ 1%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o nvcc fatal : Unsupported gpu architecture 'compute_21' CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:208 (message): Error generating /home/brian/opencv/release/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o. Thank you

2015-09-15 08:57:53 -0600 asked a question OpenCV Error: Null pointer (NULL guiReceiver (please create a window))

Under Ubuntu 15.04 I am trying to compile in QTCreator an application that uses OpenCV and CUDA to display Intel DepthSense 3D camera. But I suspect that when the window with camera frame attempts to appear the following error occurs:

OpenCV Error: Null pointer (NULL guiReceiver (please create a window)) in cvDestroyWindow, file /home/brian/opencv/modules/highgui/src/window_QT.cpp, line 497 terminate called after throwing an instance of 'cv::Exception' what(): /home/brian/opencv/modules/highgui/src/window_QT.cpp:497: error: (-27) NULL guiReceiver (please create a window) in function cvDestroyWindow The program has unexpectedly finished. /home/brian/Scherady/build-htrack-Desktop-Default/htrack_atb crashed'.

Any help? Thank you.

2015-09-14 14:59:45 -0600 commented question OpenCV Unspecified error - cvShowImage
  1. I had used -D CUDA_ARCH_BIN=3.2 -D CUDA_ARCH_PTX=3.2 as I had seen in another forum, is it a problem, even if it compiled OK?
  2. Now I have another error: OpenCV Error: Null pointer (NULL guiReceiver (please create a window)) in cvDestroyWindow, file /home/brian/opencv/modules/highgui/src/window_QT.cpp, line 497 terminate called after throwing an instance of 'cv::Exception' what(): /home/brian/opencv/modules/highgui/src/window_QT.cpp:497: error: (-27) NULL guiReceiver (please create a window) in function cvDestroyWindow The program has unexpectedly finished. /home/brian/Scherady/build-htrack-Desktop-Default/htrack_atb crashed' Thank you.
2015-09-14 05:42:31 -0600 received badge  Enthusiast
2015-09-12 18:10:07 -0600 commented question OpenCV Unspecified error - cvShowImage

Thank you Steven I have a VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev a1)

2015-09-10 03:50:11 -0600 commented question OpenCV Unspecified error - cvShowImage

OK ! My build failed: [ 32%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o nvcc fatal : Unsupported gpu architecture 'compute_11' CMake Error at cuda_compile_generated_matrix_operations.cu.o.cmake:206 (message): Error generating /home/brian/opencv/build/modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o

modules/core/CMakeFiles/opencv_core.dir/build.make:55: recipe for target 'modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o' failed make[2]: * [modules/core/CMakeFiles/cuda_compile.dir/__/dynamicuda/src/cuda/./cuda_compile_generated_matrix_operations.cu.o] Error 1

2015-09-10 00:34:14 -0600 received badge  Editor (source)
2015-09-09 10:22:17 -0600 asked a question OpenCV Unspecified error - cvShowImage

Under Ubuntu 15.04 I am getting the following error:

****************************************
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /home/brian/opencv/modules/highgui/src/window.cpp, line 501
terminate called after throwing an instance of 'cv::Exception'
  what():  /home/brian/opencv/modules/highgui/src/window.cpp:501: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage

I have re-installed libgtk2.0-dev and pkg-config and re-run cmake but it did not help.

Any idea what could be the problem?

Thank you

Updated information:

cmake output:

-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- Found ANTTWEAKBAR: /usr/local/lib/libAntTweakBar.so
-- AntTweakBar: /usr/local/lib/libAntTweakBar.so
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- GLEW_LIBRARIES: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- HOSTNAME FFTT
-- CUDA_PROPAGATE_HOST_FLAGS: False
-- CUDA_HOST_COMPILER: /usr/bin/cc
-- CUDA_NVCC_FLAGS:  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- HOSTNAME FFTT
-- CUDA_PROPAGATE_HOST_FLAGS: False
-- CUDA_HOST_COMPILER: /usr/bin/cc
-- CUDA_NVCC_FLAGS:  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- HOSTNAME FFTT
-- CUDA_PROPAGATE_HOST_FLAGS: False
-- CUDA_HOST_COMPILER: /usr/bin/cc
-- CUDA_NVCC_FLAGS:  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_32,code=sm_32 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -DNDEBUG -std c++11 -O3 -use_fast_math
-- CMAKE_BUILD_TYPE Release
-- Compiler(Linux): g++-4.9
-- Found OpenNI: /home/brian/Scherady/htrack-1/openni/lib/libOpenNI2.so
-- !!!WARNING Qt5: resorting to default Qt5 paths (might fail): /usr/local/qt/5.3/gcc_64/lib/cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/brian/Scherady/htrack-1/build-apps-Desktop-Default

compile output:

16:36:18: Running steps for project htrack-helloworlds...
16:36:18: Starting: "/usr/bin/make" 
[  7%] Built target helloworld
[ 15%] Built target helloworld_opencv
[ 23%] Built target helloworld_qtopengl
[ 38%] Built target helloworld_atb
[ 46%] Built target helloworld_cudagl
[ 53%] Built target cudax
[ 61%] Built target helloworld_cublas_perfomance
[ 69%] Built target helloworld_cublas_simple
[ 76%] Built target helloworld_thrust
[100%] Built ...
(more)