Polyword helps you translate and learning words in new languages by just taking pictures of various things, such as objects or places!
It is an essential app when going abroad!
Polyword also provides a fun and innovative way to improve your vocabulary in different languages! Learning new useful words this way will help you remember them later.
More than 30 languages are available.
Polyword is based on several technologies:
- Object detection: To detect objects, I used Apple CoreML technology
- Word translation: To translate words between several languages, I used the Microsoft Azure Text Translator API
# Clone this repository
$ git clone https://github.com/Binb1/Polyword.git
# Go into the repository
$ cd Polyword
# Install the pods
$ pod install
Now you can open the app in Xcode
You will notice that the Constants.swift file is missing.
The Constants.swift file contains all the keys that our application is going to need. You can create a new Constants.swift file and put this key in it:
- ocpKey: Your Microsoft Azure Text Translator API Key
//Microsoft Azure part
let ocpKey = YOUR_MICROSOFT_AZURE_TEXT_TRANSLATOR_KEY
For this project I used the Mlmodel called Resnet50.
You just need to download it and drag & drop it in the folder called MLModel.
Now that everything is setup, you can build and launch the project! Have fun!
The official Polyword app is currently available!
To build this app I used several tutorials and tips:
- Three great articles
- Two awesome websites full of great tutorials:
- Flaticon: The website that provided the earth, flash and gears icons