receipt_scanner

package
v0.0.0-...-cb8fb00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAwsSession

func NewAwsSession() (*session.Session, error)

func Scan

func Scan(aws_session *session.Session, file mime.File, size int64) (*model.Receipt, error)

Analyze ticket on Textract using OCR and AI, and get in response structured information about receipt

func SearchCurrency

func SearchCurrency(item []*textract.ExpenseField) string

Auxiliar function to search string into an array of textract.ExpenseField

func SearchExpense

func SearchExpense(item []*textract.ExpenseField, s string) string

Auxiliar function to search string into an array of textract.ExpenseField

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL