logic - Textract extract 2 columns of QUANTITY type data. What would be the best way to detect which is the good one? - Stack Ov

I'm using AWS Textract with AnalyzeExpense to extract data from P.O.But sometime, P.O. have "

I'm using AWS Textract with AnalyzeExpense to extract data from P.O.

But sometime, P.O. have "QTY ORDERED" and "QTY SHIPPED" and both are detected as QUANTITY. So I end up with 2 possible QUANTITY data source.

I would like to know if there is some common rules or pattern that would make sure I'm always using the correct columns in general.

I could easily parse and look at the LabelDetection, or do some calculation to check if QUANTITY * UNIT_PRICE = PRICE (if UNIT_PRICE & PRICE are detected) but as I'm dealing with different P.O. from different suppliers, i would like to get some hint to find a golden rule that would match most cases.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745258013a4619072.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信