Skip to content

sayaleepote/TextDetectWithTranslation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TextDetectWithTranslation

Text detection with MLKit and google translation API to translate the detected text.

This app detects the text from a picture input using camera or photos gallery of the iPhone/Simulator. The app uses on device Text Recognition in iOS using MLKit in Firebase by Google and then translates the detected text in chosen language using Google Cloud Translate API.

Get a detailed tutorial for the app on my blog.

Before you run the project, open terminal and go to the root folder of the project and type:
$ pod install
This will install the following required pods:
'Firebase/Core', '~> 5.2.0'
'Firebase/MLVision', '~> 5.2.0'
'Firebase/MLVisionTextModel', '~> 5.2.0'

If cocoapods is not already installed, install it with following gem command.
$ sudo gem install cocoapods

After pods install, you will now work on the newly created xcode workspace (.xcworkspace) instead of xcode project (.xcodeproj).

You would also need to add GoogleService-Info.plist file to your project for firebase integration in order to use MLKit. Refer these easy steps for the same. You will have to login to your gmail account for accessing the console to firebase.

textdetect

About

Text Detect with MLKit and google translation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published