Am 16.03.2013 16:34, schrieb Ulrich Pegelow:
> Am 16.03.2013 15:23, schrieb Sebastian Kraft:
>> Am 16.03.2013 15:18, schrieb Ulrich Pegelow:
>>>
>>> Is the score value documented anywhere? What would be a good threshold
>>> to accept or refuse a match?
>>>
>>
>> Unfortunately not :( I just found out that this exists a few weeks ago.
>> You can compile the tfun.cpp example code and try a search with several
>> lens names supplied by commandline arguments. A perfect match is around
>> 80 points. The Tamron 17-50 lens with the "(model 16)" part yields 67
>> points. So maybe a threshold at 50 points should work?
>>
>
> I am wondering if this interface is stable enough and supposed to be
> used externally? If not we might get into trouble.
>

The score field in the lens search result struct is documented in the 
manual. So I think it is supposed to be used. The only missing thing is 
a specification of the value range.

Why not giving it a try? Maybe with a conservative threshold first... It 
can only improve the automagic matching in Darktable.

Sebastian


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to