2019-05-29 23:17:06 -0600 | received badge | ● Popular Question (source) |
2016-05-18 15:38:10 -0600 | received badge | ● Good Question (source) |
2015-07-15 05:52:46 -0600 | received badge | ● Notable Question (source) |
2014-11-21 06:09:05 -0600 | received badge | ● Popular Question (source) |
2014-03-28 12:56:59 -0600 | received badge | ● Nice Question (source) |
2014-01-09 02:46:48 -0600 | received badge | ● Student (source) |
2014-01-06 19:48:28 -0600 | asked a question | Failed to load OpenCL runtime I have compiled and installed the latest version of OpenCV on an AWS instance. So when I try running this python script: https://github.com/A7Zulu/crunchbase-db/blob/master/sift.py I get this error:
But if I start a python shell and paste each line of code into it manually it will work. When I call this command: kp1, des1 = sift.detectAndCompute(img1,None) it will throw the above error, but if I call that same command again the error doesn't happen and it runs normally. I was wondering how do I get my script to work without manually pasting things into a python shell. Thanks for the help. |
2014-01-06 19:41:18 -0600 | commented answer | Installation Problems: BUILD_NEW_PYTHON_SUPPORT Thanks this works |
2013-12-23 18:31:01 -0600 | received badge | ● Editor (source) |
2013-12-23 18:29:12 -0600 | asked a question | Installation Problems: BUILD_NEW_PYTHON_SUPPORT I am running Ubuntu 12.04 and trying to install OpenCV 2.4.7 with Python Support. I have installed all the required libraries and issued this cmake command: cmake -D 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 INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. Everything compiles correctly except I get this warning: CMake Warning: Manually-specified variables were not used by the project: Because of this when I run make and make install, the correct Python files aren't generated correctly. I was wondering if anyone would know what is going on. Thanks for the help, Aaron |