Look up English-Vietnamese dictionary via camera on mobile phone using Android 2 - 10


Text-To-Speech is a service feature that is

supply

for many

Maybe you are interested!

g dun

other

in the house

g device, so when finished using TTS and not balanced

half

then

we should

disconnect and return dic

onDestroy().

h service

g cac

call

shutdown() method in Activity



So the application of private

crazy

on Android can easily pronounce directly

next

ok

English words thanks to Text To Speech API that many data.

g we do not weigh

fade

data storage


5.7 Development environment

development

use

The topic of the dictionary lookup application on the camera includes the application installed on the Android phone (.apk installation file) and the data file that comes with the program to copy to the memory card.

The following is a list of tools and development environments to carry out the topic: Design tools, drawing models, block diagrams: Microsoft word, Microsoft Visio. Programming environment and tools:

 Eclipse IDE for Java Indigo edition.

 Android SDK (installed via ADT plug-in on eclipse)

 Android NDK r8.

Tools and libraries used:

 Installer and source code of tesseract library version 3.01 on Windows.

 Source code for image processing library leptonica 1.68 and libjpeg.

 tesseract-android-tools tool on Eclipse. Installation and testing environment:

 Android virtual machine on Android SDK with android version 2.3.3 and API version 14.

 Sony Ecricson Neo Mt15i phone runs android version 2.3.4.

There are also some other programs to support the application such as: English pronunciation using Microsoft's text to speech SDK on Android...


5.8 Installation and usage instructions


5.8.1Program installation

CameraDictionary program works well on phones using Android platform version 2.3 and above. Here are the configuration and installation requirements:

 Android version Gingerbeard 2.3 or later.

 Phone has camera and supports auto focus feature

 Department

miss

The phone must have at least 20 Mb of free space for installation.

programme.

 38 MB free memory card to store dictionary data files and tesseract recognizer data.

CameraDictionary.apk program installation file and CameraDictionary data folder.

First copy the program installation file to the memory card or memory card.

miss

phone and start the installation. Then, copy the mail

item

CameraDictionary and in memory card.


Figure 5.25 Program icon after installation is complete


5.8.2 Instructions for use

Start the CameraDictionary program and we get the main screen interface as follows:

Figure 5.26 Program screen at startup

How to look up words using the program's camera: Use the rectangular frame in the middle of the screen to limit the word recognition area. You can use your hand to zoom in or out of the frame area.

fit the word in the text area. After adjusting the rectangular bounding box as desired, click the camera icon marked with number 3 to recognize the word in the bounding box. The word recognition result will be displayed in the text edit bar at the top of the screen. To look up the word you just recognized, click the number 1 icon next to the text edit box to display the word meaning screen.

Figure 5.27 Word meaning display screen

In addition, to listen to the pronunciation of English words in the meaning display, click on the speaker icon in the right corner of the screen and to return to the main screen, click on the arrow icon next to it.

Note : To be able to use the English pronunciation feature in the program, the phone needs to have the text to speech system installed on Android .

When the user presses the camera icon to look up a word, the camera's auto-focus feature (if supported) will be used by default to ensure the sharpest picture. However, the program also provides users with the ability to automatically adjust the auto-focus when needed. Use it by pressing icon number 2 in the image. In addition, when the user uses it to look up a word in low-light conditions, they can press icon number 4 to turn on/off the flash in the phone's camera.

(if the phone supports flash).

On the left corner of the screen is the zoom in/out feature for the image on the screen. If the text to be recognized is too far away or the font size is small, you can use this feature to increase the accuracy of recognition. When the recognized text is not accurate, the user can take a photo or directly edit the recognition result as desired.

The main purpose of the program is to use the camera in the phone to look up the dictionary, to reduce the time and difficulty of having to enter words directly. However, if the user wants to use the regular dictionary lookup feature of typing words and looking them up, the program also provides users with this feature. In the settings section, select the first icon dictionary to switch to the regular word lookup feature.


Figure 5.28 Screen with menu setting system below

As shown in the image above, press the setting key on the phone to enter the sub-menu system:

Dictionary: Switch to dictionary lookup by entering the word Setting: Turn on/off advanced features in the program. About: Display detailed information of the program

Exit: Exit the program


Figure 5.29 Screen for looking up a dictionary in the usual way



Figure 5.30 Setting screen

 Spelling suggestion: This is a feature that searches for approximate words when the recognition result is incorrect.

 Stemming: The feature of restoring the original word in English. Stemming will be done when looking up a word.

 Font size of dictionary: Set the size of the font displayed in the program.


5.9 Test results


SUMMARY

 RESULTS

 LIMITATIONS

 DEVELOPMENT DIRECTION

 CONCLUSION


REFERENCES

Comment


Agree Privacy Policy *