mlkit icon indicating copy to clipboard operation
mlkit copied to clipboard

Embossed Character Missing to recognized

Open khuwajahassan15 opened this issue 1 year ago • 0 comments

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

khuwajahassan15 avatar Sep 25 '23 11:09 khuwajahassan15