Giter Site home page Giter Site logo

Comments (8)

shimat avatar shimat commented on May 17, 2024

The stackoverflow page is so interesting and informative for me, thank you.

I checked the OpenCV SURF implementation. SURF descriptors are calculated by float (CV_32F). I think it would be very difficult to resolve this problem...

from opencvsharp.

milanloveajax avatar milanloveajax commented on May 17, 2024

Do you have any other method of achieving this without any kind of such error?

from opencvsharp.

shimat avatar shimat commented on May 17, 2024

A solution is to use other SURF implementation.
For example, original SURF implementation defines descriptors as double.
http://www.vision.ee.ethz.ch/~surf/download_ac.html

Many SURF implementations are listed here:
http://it.wikipedia.org/wiki/Speeded_Up_Robust_Feature

from opencvsharp.

milanloveajax avatar milanloveajax commented on May 17, 2024

Hi,
Based on your suggestion, I tried another SURF implementation from the following website.

https://code.google.com/p/directcv/

The code is working completely fine with that wrapper.

So what is wrong with your wrapper? Why is it giving two different results in debug and exe mode?

from opencvsharp.

shimat avatar shimat commented on May 17, 2024

Hmm... the P/Invoke entry point is the same between DirectCV and OpenCvSharp.
DirectCV is for OpenCV2.2. Perhaps the difference of the SURF implementation between OpenCV 2.2 and 2.4.8 occurs this problem.

By the way, is your environment x86? I could demonstrate the problem in x86 build, but could not demonstrate in x64.

from opencvsharp.

milanloveajax avatar milanloveajax commented on May 17, 2024

Yes my environment is x86.

from opencvsharp.

shimat avatar shimat commented on May 17, 2024

Perhaps using x64 is a solution. I will continue researching this problem.

from opencvsharp.

stale avatar stale commented on May 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from opencvsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.