Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try getting the OpenCV 2.3.1 superpack <a href="http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3.1/" rel="nofollow">here</a>. If that is still giving you trouble, I would try compiling OpenCV from source using <a href="http://cmake.org/cmake/resources/software.html" rel="nofollow">CMake</a>. Follow <a href="http://opencv.willowgarage.com/wiki/InstallGuide" rel="nofollow">this guide</a> to build OpenCV from source.</p> <p>Aside from the obvious problem of the DLL not being in the same directory as the executable, this looks like it might be a mismatch between the compiled binary architecture (i.e., 32-bit/VS2005 vs. 64-bit/VS2010) and the one you are running.</p> <p>Hope that is helpful!</p> <p><strong>EDIT :</strong> Can you try compiling and running this code (this is working perfectly on my system)? Make sure you use the 2.3.1 version for this one.</p> <pre><code>#include &lt;opencv2/core/core.hpp&gt; #include &lt;opencv2/highgui/highgui.hpp&gt; #include &lt;opencv2/imgproc/imgproc.hpp&gt; #include &lt;opencv2/features2d/features2d.hpp&gt; #include &lt;vector&gt; using namespace std; using namespace cv; int main(int argc, char* argv[]) { Mat image = imread("yourimage.jpg", 0); Ptr&lt;FeatureDetector&gt; detector = FeatureDetector::create("FAST"); vector&lt;KeyPoint&gt; points; detector-&gt;detect(image, points); Mat imageColor; cvtColor(image, imageColor, CV_GRAY2BGR); drawKeypoints(imageColor, points, imageColor, Scalar(255, 0, 0), DrawMatchesFlags::DRAW_OVER_OUTIMG); imshow("imageColor", imageColor); waitKey(); return 0; } </code></pre> <p>Can you also post a link to the image you are trying to run feature detection on? Also, how are you creating your project in Visual Studio?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload