googlesamples / googlesamples/mlkit

Embossed Character Missing to recognized

Open
#734 0 comments 0 reactions 1 assignee Claimed by @stunningdimension22 View on GitHub
Dominant language
Kotlin
Stars
4.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

facing issues for recognize the embossed text of debit card.
I used the following approach, but result contains wrong detection and sometime replace 1 with 7, replace 5 with 6 and sometime not detecting the 1 ,7.

implementation("com.google.mlkit:text-recognition:16.0.0")

implementation ("com.google.firebase:firebase-ml-vision:24.0.3")


Kindly guide me what should I do now,
I need a custom solution for scanning the debit card I got success result in case of flat surface.



I have attached the target image and result that I am getting.
f

Result: implementation("com.google.mlkit:text-recognition:16.0.0")
1234 5578 9875 5432
1234
VALID
THRU
Bank Name
CARDHOLDER
MONTH/YEAR
Le/49


Result for firebase ml kit

1234 5578 9875 5432
1234
VALID
THRU
Bank Name
CARDHOLDER
MONTH/YEAR
Le/49
1/99
![f](https://github.com/googlesamples/mlkit/assets/20481928/d1b0691f-e830-41fa-a971-63c09fd09b79)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.