0

I'm working on a business card project in Flutter. My goal is to digitally extract data from a photo or an image from the gallery on a mobile phone, including fields like: {name, surname, address, title1, title2, city, country, company number, fax, mobile number, etc.} I've had trouble handling the data using regex and .contains since there are various card designs, and the data is not consistently located in the same place. I'm using ML Kit's line-by-line text recognition to capture the data and store it in a list. Then, I've created a CardVisitModel to attempt to parse the collected data into properties based on their characteristics.

Now, the challenge is how to control this data parsing process. As I mentioned earlier, there are many different types of business cards, and the fields can be located anywhere on the card.

I tried regex / '.contains' function and flutter google ml data extraction kit. The ml kit only can handle address phone email so if i use it. I still couldn't mapping name,surname,city, etc. Do u have any suggestion ?

0 Answers0