I would like to know how can I filter only to detect numbers (integers)? for example 1,2, ...., 10. Currently, the api detects all "text" formats.
You must do this processing on your side. Use Regex to filter numbers from a string received from the Vision API:
str="Text received 123,0"; number = str.replace(/\D/g,''); result: 123
Source: https://habr.com/ru/post/1660020/More articles:Calculation of normals and windings - c ++Trailing return type, declval and reference qualifiers: can they work together? - c ++Spring MVC Annotations @ModelAttribute - javaGet animation status in microseconds - javascriptExcel VBA: NTLM / Kerberos authentication and negotiation in VBA-Web / WinHttp - authenticationUsing Windows Subsystem for Linux (WSL) from Sublime Text - gccCombining multiple arrays into one array without duplicates - javascriptWhy are regular expressions with backlinks not regular expressions? - regexHow to restore a query outside its wrapped component? - apolloHow to create a backward compatible system settings panel? - memory-managementAll Articles