extractor: back has id too you know
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 34s
This commit is contained in:
@@ -108,8 +108,8 @@ class DocumentExtractionService(
|
|||||||
if (hasAddress) {
|
if (hasAddress) {
|
||||||
val addressQuestions = linkedMapOf(
|
val addressQuestions = linkedMapOf(
|
||||||
DocumentPrompts.PIN_CODE,
|
DocumentPrompts.PIN_CODE,
|
||||||
DocumentPrompts.ADDRESS
|
DocumentPrompts.ADDRESS,
|
||||||
)
|
DocumentPrompts.ID_NUMBER)
|
||||||
for ((key, question) in addressQuestions) {
|
for ((key, question) in addressQuestions) {
|
||||||
results[key] = askWithContext(ocrText, localImageUrl, question)
|
results[key] = askWithContext(ocrText, localImageUrl, question)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user