khjde1207 / tesseract_ocr

Tesseract OCR for flutter
BSD 3-Clause "New" or "Revised" License
64 stars 31 forks source link

Live OCR IOS Simplified #10

Closed sikandernoori closed 3 years ago

sikandernoori commented 3 years ago

Hello @khjde1207

I have moved Major Code from Swift to Dart to simplify the process.

Now in IOS SwiftyTesseract is Initialized Once, for changing Language seperate function is introduced.

Camera Image being convert into jpeg format at Dart end than send to Swift Uint8List format where it passed to UIImage to perform OCR.

Please check and merge.

khjde1207 commented 3 years ago

thanks In Android, an Index out of range error occurred when calling fromBytes. i couldn't find a solution live ocr supports only ios

sikandernoori commented 3 years ago

Can you push your working in Dev branch So I may have a look. thanks.