java.lang.Object
jku.se.AnomalyDetection
Utility class for detecting mismatches between OCR-extracted data and manually entered invoice data.
Compares date, amount, and category fields to identify inconsistencies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
detectMismatch
(Invoice invoice) Detects mismatches between OCR-extracted fields and actual invoice fields.
-
Constructor Details
-
AnomalyDetection
public AnomalyDetection()
-
-
Method Details
-
detectMismatch
Detects mismatches between OCR-extracted fields and actual invoice fields. Compares date, amount, and category.- Parameters:
invoice
- The invoice to check.- Returns:
- true if a mismatch is found, false otherwise.
-