Community

Recognizing money amount in FlexiCapture

Does anyone have any tricks to recognize money amount in format when every 3 digits are divided by space like 12 345,67 ? Everything I tried finds only last block of 3 digits and decimal part.

Was this article helpful?

0 out of 0 found this helpful

Comments

13 comments

  • Avatar
    pacodelavega
    I've made regexp (*|**|***" "){0-4}","** but sometimes there are number without spaces like 556384,22 and so it doesn't work.
    0
  • Avatar
    Timur
    Hello,

    Try using a standard characterstring element to capture amounts it is probably a more reliable approach.

    Regards
    Timur


    0
  • Avatar
    pacodelavega
    Hello,

    Try using a standard characterstring element to capture amounts it is probably a more reliable approach.

    Regards
    Timur



    Не работает так, я прикладывал скриншот в первом сообщении. Если сумма «1 250 564,00», то character string распознаёт только 564,00 как ни крути настройки элемента.
    0
  • Avatar
    Timur
    Hello,

    Could you please provide a sample image?

    Regards
    Tim
    0
  • Avatar
    pacodelavega
    Hello,

    Could you please provide a sample image?

    Regards
    Tim

    Check attachment to my first post.
    0
  • Avatar
    Timur
    I need an original image so i can analyze it and provide some tips on how to capture money field

    0
  • Avatar
    pacodelavega
    I need an original image so i can analyze it and provide some tips on how to capture money field


    If I use character string flexicapture recognizes only 922,50 from 9 922,50
    0
  • Avatar
    Timur
    First of all, in order to get good recognition results you need to scan such documents in resolution 300 dpi, provided image is in 96 dpi. Can you provide an image with higher resolution?
    0
  • Avatar
    pacodelavega
    https://i.imgsafe.org/cec7433f61.png
    369 519,32 is also recognized as 519,32
    0
  • Avatar
    Timur
    Please specify your flexilayout version including build number
    0
  • Avatar
    pacodelavega
    Please specify your flexilayout version including build number

    11.0.3.1770 Part# 1112/17
    0
  • Avatar
    Timur
    Hello,

    Heres an example of how you can try capturing such fields without using currency element.

    Note that this is only a demo and you shouldnt attach to the static text i used.


    regards
    Tim
    0
  • Avatar
    pacodelavega
    Hello,

    Heres an example of how you can try capturing such fields without using currency element.

    Note that this is only a demo and you shouldnt attach to the static text i used.


    regards
    Tim

    Thanks, your example is working. We have different chief accountants so copying your example won't help, but I've got the idea with

    ​rects.RSA:amountSearchArea.Rect;
    0

Please sign in to leave a comment.