Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Swift and camera text recognition?

Hi all!

I believe that I have a good idea for an app that I first want to build for iOS, but as an almost beginner it's difficult to know where I should start. The alternatives are so many.

Without giving to much away I need the app to primarily scan text from the camera, without having to snap photos.

I have been fiddling around with Tesseract OCR, but so far I've only been able to scan photos that the camera has already taken.

Should I move over to AV Foundation instead? Core Image? Vision Framework?

I want the app to be compatible backwards, since the market that I'm targeting is not a market that has easy access to the latest iOS updates.

Can anybody point me in a good direction of where to start?

I greatly appreciate all the help I can get!

1 Answer

Emre Havan
Emre Havan
8,569 Points

Vision, and AVKit frameworks might be useful for your purpose. I suggest you to watch this video to have some idea about how to scan things with camera:

https://www.youtube.com/watch?v=p6GA8ODlnX0&t=1s

This is great advice and a terrific link! Thank you so much!