FNCOCR has problem with the StrToFloat

I am getting a error for line 396 of VCL.TMSFNCWXOCR
the line is :

w.Confidence := StrToFloat(TTMSFNCUtils.GetJSONProp(Value.items[i], 'confidence'));

And I believe the problem has to do with greek format settings
For float numbers we do not use the dot, we use the comma
So, the 0.91 will give error and it should be 0,91

Thanks for reporting.
We look into a fix for this asap!

A fix for this has been added in the upcoming patch 1.0.0.3 which will be released as soon as possible.

1 Like