brianadvent / TextRecognition

Tutorial on YouTube
https://youtu.be/DTQ1z_8KXZo
8 stars 3 forks source link

Why does it do not use the camera to recognize text? #1

Open gabrielcatice opened 6 years ago

gabrielcatice commented 6 years ago

Every time I open the app already has a default text

Finchiedev commented 6 years ago

Because the code is using a sample image already provided; if you want to add photo library and camera support, you must add that in yourself. This is the source file, called demoText:

https://github.com/brianadvent/TextRecognition/blob/master/TextRecognition/Assets.xcassets/demoText.imageset/demoText.png