Hutch entered into a partnership with Nimbuzz, a social messaging app, recently. To mark this event, Hutch has enabled subscribers to use the Nimbuzz app free of data charges for six months (up to December 17).
Nimbuzz is a Chat Application which is popular among friends and their regular contacts. It allows them to communicate fast through any of their IM Accounts such as yahoo, Gtalk, or Facebook.
Hutch, CEO, Thirukumar Nadarasa said, ”Our exclusive partnership with Nimbuzz is another value addition in our recent series of agreements with some of the top local and international Application developers. These agreements have enabled Hutch fulfill diversified communication needs of various segments throughout the country.”
“The company is committed to creating the highest value offering for the end user and we believe that these initiatives have enabled the brand to deliver our promises. We are delighted to be a part of the exclusive Nimbuzz partnership that would revolutionise mobile messaging in Sri Lanka, making communication more affordable and convenient,” he said.
Source: Sunday Observer
Hello everyone! Welcome to my very first article on diGit. In this article, we will look at how to perform Optical Character Recognition (OCR) in C#.
For this we will use Puma.net library which makes our task much easier. You can download it from CodePlex, which hosts Open Source Projects.
After downloading, run the downloaded file and install it in your machine. I will illustrate this to you by using a small WPF application. After installing Puma .Net go to the “Assemblies” folder in the installation location. Usually they are in C:\Program Files (x86)\Puma.NET\Assemblies (in a 64-bit machine).
You should see three DLL(Dynamic-Link Library or .dll) files as follows.
Next go to the properties of the”COM Server” folder which resides at C:\Program Files (x86)\Puma.NET
Go to the security tab and click edit.
- Figure (b)
And make sure you have given full control for the current user.
Next open Visual Studio (I am using 2012 version) and go to File=> new=> project
Under “Windows” category choose “WPF Application” and under “Name” give a name for your application and click OK.
Right click on your project and select “Add Reference” and go to “Browse” section.
Click on “Browse” and locate the” Puma.Net.dll” file which resides in C:\Program Files (x86)\Puma.NET\Assemblies (in 64-bit machine) and click OK.
Right click on your project and select “Rebuild”. After rebuild completes right click on the project again and select “open folder in file explorer”. Go to Bin => Debug and you must have “Puma.Net.dll” , and “puma.interop.dll” files inside that folder. From the location in figure (a) you must copy “dibapi.dll” file into this location. Now your Debug folder must have the following content:
Now go to “MainWindow.xaml ” in our WPF Application and create an interface like the following by simply using the items in the toolbox.
The first File Selector is used to select the source image file. We can get the output of the OCR as a string or we can directly write it into a file. The second file selector is used to select the destination file for the second scenario.
So now let’s look at the code written in event handlers.
First let’s consider the click event of the “Select Source” button.
- Figure (g)
Here I have created an object from the “OpenFileDialog” class which helps us to locate the source image that we use to read. The “ShowDialog()” method in this class will open a file chooser window and it returns a boolean value which indicates whether a file has been selected or not. And I have taken the path of the selected file using the “FileName” property and set it into the first TextBox in Figure (f).
Now let’s consider the actions caused by the click event of the “Read to screen” button
- Figure (h)
Here we are creating an object from the “PumaPage” class and we have to pass the path of the source image file which we got in the previous step into the constructor of this object. And then we can set the output format we want (line 54), and set the language which is used in the source image(line 55). Using the “RecongnizeToString()” method we can take the output of the reading into a string. I have applied that string into a “TextBlock” in our MainPage.xaml. Finally I have called the “Dispose()” method so this PumaPage object will be disposed allowing another PumaPage object to get hold of the source image file.
Here is the code under “SelectDestination” button
- Figure (i)
This has a similar functionality as the “Select Source” button in Figure (g) and it will let us select the destination file where we would like to save the output if we plan to save it in a file. And that path is assigned to the Second TextBox in the MainWindow.xaml page.
Click event in the “Read to File” button
- Figure (j)
The functionality of this event is similar to “read to screen” in Figure (h). Instead of the “RecongnizeToString()” method we must use the “RecognizeToFile()” method (line 85) and pass the path of the destination file which we got in the previous step, as a parameter.
Before running the application make sure to add a reference to the “System.Drawing” assembly by going to the Reference Manager in the same way we did in Figure (d). Under “Assemblies” section select “FrameWork” and select “System.Drawing ” as shown in below and click OK.
This is the image which I will use for recognition:
Now let’s run our application by clicking on “Start” button.
This is the result which I got by clicking the “Read to Screen” button after selecting the above source file through “Select Source” button.
And we can also use the “Read to File” button after selecting a destination file using the “Select Destination” button.
Here is the destination file after the operation:
There are some other properties under “PumaPage” class which can be set for much sensitive and thorough recognition, just play around with them a little bit and you will understand their usage and power in no time.
I hope you understood my explanation and learned something new. If you need any further clarifications, please feel free to contact me. And since this is my very first article I very much appreciate your feedback in order to make my future work much beneficial to you all!
Let’s meet again soon with another article.
Take care Happy Coding!!
Name of app – Lovers Chat
Description – If you are a person who sends a lot of SMS’s in a day to a specific user, Lovers chat gives you a very low cost option. Now Etisalat and Dialog user can chat with loved ones by paying only ONE RUPEE per day.
This is a “one 2 one” and “random” chatting application which allows you to chat with your partner or friends and it gives you the opportunity to have new friends via random chatting. Once you are registered in this application you can chat without any limit for only 1 rupee per day.
If you are a dialog user type REG<space>JM and send it to 77220
If you are a Etisalat user type REG<space>LA and send to 4499
App created by Sajith udayanga. He is an undergraduate of the Dept of Sports Science and Management, Faculty of Applied Science at Sabaragamuwa University. He has a keen interest for programming and has sound experience in the field of mobile application development. He was awarded the grand winner at the award ceremony “AppZone Champions 2013″ organized by Etisalat Lanka.
Award winning mobile application of eSwabhimani 2011 for the initiative of delivering government e-services which are connected to Lanka Gate through smart phone mobile interface.
From this application you can get Train Schedule, Train Delays and Ticket Prices of Sri Lanka Railways.
This application is developed for ICTA Sri Lanka and released under GNU/GPL.
Download from https://play.google.com/store/apps/details?id=lk.icta.mobile.apps.railway
Developed by Chatura Dilan Perera: Chatura holds a Bachelor of Information and Communication Technology Degree from University of Colombo School of Computing. In addition Dilan is a Sun Certified Professional of Java web and business component development. He has technical expertise and experience in PHP, J2EE, Internet, System Analysis and Design, Open Source Software, and mobile application developments.