So my plan is to create a real-time text recognition app.
To start out I am currently trying to make a simple on-device (not via an cloud API) OCR app which uses a photo taken from the CameraView ,extracts text and then displays it on the screen. I looked into possible solutions a lot and came to the conclusion that Tesseract might be the best choice. Now since I am coming from the web dev world I have no expertise in working with foreign code - ObjC I did not even know where to start. It feels like I would need to spend much much more time in learning ObjC. and Uno in order to solve a very rare issue. Being optimistic I believe there has to be a better and efficient way to do this and thats why I am asking you for help.
I found out that tesseract actually also provides a JS version: https://github.com/naptha/tesseract.js#tesseractjs
The problem is that I am not really sure about how to implement npm packages in fuse and if its even gonna work anyway since it probably strongly depends on node.js core features…
Thanks. Thought about that too. The problem is that MLkit only provides Swift|ObjC. code and given some youtube tutorials you also have to quite a lot in xCode. Tbh it is very hard for me to get into ObC. let alone implementing it via Uno in fuse…
Yes, you are right! However, I do not want to use the API. If the API request exceeds a certain amount Google will charge. The on-device OCR would be enough for my needs and I do not have to think about what happens once more people than I thought use the app… Hm I might have to move to Nativescript for that project which is kinda sad.