Browsing by Author "Rajapaksha, R.W.V.P.C."
Now showing 1 - 7 of 7
Results Per Page
Sort Options
Item Graphical User Interface Builder for C language(Uva Wellassa University of Sri Lanka, 2013) Jayaratne, T.V.P.D.; Rajapaksha, R.W.V.P.C.C language was originally developed in 1972 by Dennis Ritchie at Bell Laboratories. It is a programming language that was derived from earlier language B and B's earlier ancestors BCPL and CPL. In a very short period of time C language became more powerful and flexible. Later the UNIX operating system which was originally written in assembly language was almost immediately re-written in C. Though C has been around for decades, it’s still consistently ranked at the top of any list of programming languages used and studied today (Sawyer, 2012). C language is closer to the hardware, and used to create other languages such as C++, Java and popular operating systems like Windows, UNIX, and Linux. The most important thing is that no programming language beats 'C' language in its speed of execution. Though the C language (Sawyer, 2012) found lasting use in applications, at present there is no specifically made Rapid Application Development (RAD) tool that enables quick and easy development of user interfaces. Therefore most C programmers use GTK+ widgets to design graphical user interfaces. The only available tool is “Glade” but it is not specifically made for C language and supports for C, C++, Java, Perl and Python languages. One of the disadvantages with the Glade tool is that, output will be an Extensible Markup Language (XML) file. Therefore this project focuses on developing a RAD tool for C language that provides programmers quick & easy development of user interfaces. The main objectives of this RAD tool is to provide a user friendly interface to design graphical user interfaces, a facility to preview the designed user interfaces and generate a C file as the output for further enhancement to the source code using any other supported tool such as Code Blocks and Eclipse. Methodology The proposed system was implemented using two languages; C and Java. The main application was developed in java with Eclipse environment. The main purpose of using Java is to create a platform independent system. In the main application, editing area is available to design Graphical User Interfaces (GUI) with forms, Insert buttons, labels, menus…etc. with drag and drop facility.Item HealU-Widespread Disease Prevention Network(Uva Wellassa University of Sri Lanka, 2013) Ekanayake, O.V.; Rajapaksha, R.W.V.P.C.Among the global problems that are addressed by the World Health Organization, widespread diseases are a leading problem specially in the developing and under developed countries. Today Bird Flu, Swine Flu, Dengue, Malaria are a few among the lethal diseases that circulates the globe. The WHO further states that every year 250 million people are affected by malaria which leads to one million deaths per year, and also 2.5 billion people, two fifths of the world's population, are now at risk from dengue and estimated that there may be 50 million cases of dengue infection worldwide every year(UN Publications, 2013). HealU is a wide spread disease prevention network, which provide a social technology platform to connects parties in order to provide the solution. Every person can be a part of it, specifically combining the government health sector which includes the authority, Deputy Director General and the Public Health Inspector and Organizations such as WHO, UNICEF, Rotary Club, Lions Club, etc. and Donors and suppliers like drug companies as well as hospitals, doctors are also part of the users and the public. The public can report about a problem in their community via SMS or web message which will lead the public health inspector for investigation then he/she will report the problem for approval and will be published in the network notifying the relevant organizations. Therefore it will provide the necessary requirements for the organizations to organize and manage to execute the project. HealU will also improve awareness among people initially acquire patient information from hospitals and provide disease statistics especially to the Deputy Director General; therefore he/she can suggest precautions and notify the public via SMS and Email. These disease statistics is also been used to generate projects in aid for those who are infected so that volunteer organizations can join hands to help people. Methodology HealU contains the following 3 major modules, 1. Communication. 2. Project manager. 3. Mobile application. 1. Communication There are three methods the users of HealU can communicate • SMS • • E-mail Web Messaging 1.1 Report a problem. HEALU has to cooperate with SMS service providers, the public can post their problem through SMS. The web users, it is possible to web message a problem to the system. Once the problem is received it will be processed using server side scripts to extract information. This is why HEALU users have to use a specific format when they send SMS messages to our server. HEALU location PROB message: the system stores the problems in the database and also categorize according to the problem description and location. The Project Manager will use these messages to generate projects.Item Image Recognition System for Paddy Leaf Diseases in Sri Lanka(Uva Wellassa University of Sri Lanka, 2013) Perera, K.K.C.; Rajapaksha, R.W.V.P.C.Paddy is the major economic crop in Sri Lanka There are mainly two seasons for paddy cultivation calls Yalaand Maha. Paddy diseases pose a major threat to rice production in Sri Lanka because of millions of rupees in direct loses and loses related to use of control measures. Ever since humans started farming, diseases have been one of the major obstacles in maximizing production. There are numerous diseases of rice such as fungi, bacteria, viruses and nematode. If we can identify these diseases in primary ages, it will give an additional advantage to prevent the diseases and to minimize the spread of them. There are mainly three paddy leaf diseases in Sri Lanka that spread speedily. Those diseases are Rice Blast (Magnaporthegrisia), Rice sheath blight (Rhisoctonisolani) and Brown spot (Cochiobolusmiyabeanus). Methodology After giving chance to upload images of infected paddy leaves in the field, first the selected image needs to be digitized. Then separate the plant leaf from its background and its known as segmentation. For second step of the process, the infected spots in the space that represent the common color (reddish brown) for all three diseases need to be calculated. Then the ratio of surface area of spots over surface area of leaf is calculated(Gliverer,et al., 2001). Finally that function compares the ratio value with given conditions and identify the disease.Item The Interactive Surface System: Concept and Development(Uva Wellassa University of Srilanka, 2011) Maduranga, M.M.D.; Rajapaksha, R.W.V.P.C.NOTE: see the PDF version In the present digital era, the integration of natural interfaces between humans and machines is becoming more important than before. This is particularly relevant to education and business domains as the utilization of interactive tools can provide clear advantages by improving teaching practices, facilitating the comprehension of complex concepts and permitting collaborative work etc. More particularly, interactive whiteboards are gaining importance in our society, both at a business level and, especially, at educational level. However, the products offered by the major manufacturers have a major barrier to their acquisition: very high prices. There is an urgent need to use new technologies in order to provide solutions that present the same performance levels than typical interactive whiteboards, but with a significantly reduced cost. Major drawback of projection screen is that the presenter should come to the computer to change the projected screen. This usually distracts the presenter's as well as audience's focus. While the presenter is at the computer he/she cannot simultaneously use the white board. The interactive surface system gives the solution for that drawback.Item Object Tracking Automated Camera(Uva Wellassa University of Sri Lanka, 2013) Udangamuwa, E.M.D.T.E.; Rajapaksha, R.W.V.P.C.Because of the advance in surveillance systems, object tracking has been an active research topic in the computer vision community over the last two decades as it is an essential prerequisite for analyzing and understanding video data. Tracking an object is to get its spatial- tempo information by estimating its trajectory in the image plane as it moves around a scene, which in turn helps to study and predict its future behavior. Enhancement of object tracking systems is building up a pan tilt moving cameras based on the movements of the detected object by combining the object tracking and computer vision technologies with microcontrollers. These systems are capable of continuing the tracking even though the object runs away from the boundaries of the normal still camera. Therefore, this research project was carried out to develop an object tracking Pan Tilt moving automatic camera with a low cost and better performance. Methodology This proposed system mainly consists of two modules such as a hardware module and a Software module. The Software module comprises of image processing algorithms and tracking algorithms. The hardware module consists with a Pan Tilt moving camera that was used to take video inputs and a Microcontroller to pass the control instructions to the Servo motors attached to the Pan Tilt mechanism. In this proposed system the video from the camera was processed using Digital Image Processing (Kirillov, 2008). The video was read as frames (Kirillov, 2009)and frame was a still image. The user was allowed to click on any object in this image using a mouse pointer. Then the color of the selected point was read as RGB values. The colors of the image were filtered out according to the selected color. Using a Color filtering algorithm it was able to filter the colors of the selected color and filled the rest of the image with black color. After the above process, developed algorithm was able to find the blobs with same color in the image and saved each and every blob in an array sorted by the size of the blobs. Then the largest blob was selected and drawn a rectangle around largest blob to clearly point out the selected object, and calculated the X and Y coordinates of the center of the rectangle with respect to the display pane. The above scenario was repeated for every frame. Thus any object in the frame can be tracked by its color, using the above algorithm. Universal Serial Bus (USB) communication was very important to read and write data to the external hardware. First the USB port which was used to communicated with the implemented hardware and the Software had to be configured. Once the baud rate was specified in the system, the serial port started to perform the communication. The Microcontroller attached to the serial port was programmed to read the data from the USB port, and the program run in a Computer was able to read the data from the Microcontroller via USB. In this proposed system, two servo motors were used and initially they were set to 90 degrees. Then in tracking algorithm two variables X and Y were declared and they were used to hold the values which were going to pass to the Microcontroller. Above X and Y variables also set to 90 degrees initially. Then calculated the display pane’s center X and Y coordinates. Subtracted the display pane’s center X coordinates from the largest blob’s center X coordinate, if the value was a negative value, and then decreased the variable value which hold the X value and wrote it to the serial port. If the subtract value was positive increased the variable value which hold the X value and wrote it to the serial port. If it equal to 0 did nothing. With parallel to the above process, subtracted the display pane’s center Y coordinates from the largest blob’s center Y coordinate, if the value was negative value, and then increased the variable value which hold the Y value and wrote it to the serial port. If the subtract value was positive decreased the variable value which hold the Y value and wrote it to the serial port. If it equal to 0 did nothing. These two parallel processes executed until the program stopped inside an infinite loop. The Microcontroller was programmed to accept those two values and it was programmed to identify the X and Y values uniquely and pass correct values to relevant servo motors. This algorithm and the programmed microcontroller kept the tracked object in the center of the display pane always by rotating the camera towards the object.Item Person Identification System: Mobile Cloud Computing(Uva Wellassa University of Sri Lanka, 2013) Chathuranga, B.R.; Rajapaksha, R.W.V.P.C.At present, obtaining the correct identity of a person has become a challenge with the existing record keeping system in Sri Lanka known as national identity card. There are so many disadvantages in this system such as, fake identity cards can be created to pretend as someone else and this card only shows some basic information like name, date of birth, place of birth, occupation and address of a particular person. However there is no way to obtain his/her crime activities, traffic offenses, bank details to the authorized community such as government security sector. This research discusses a method of storing the information of Sri Lankans in a centralized database which is manipulated by a cloud application. The proposed system facilitates to retrieve data from cloud database in a very accurate manner with a mobile device and provide facility to insert details of the people whenever necessary to the centralized database. This system consists of three main modules. The first module is a centralized database which is used to store the records of user’s crime records, traffic offenses and person details. Cloud web application is the second module. Benefits of cloud web application are data can be cached locally for full-offline mode, can be used from web browser or custom built applications installed on Internet connected devices such as desktops, mobile phones, and can be used to access a wider range of services such as on-demand computing cycle, storage, application development platforms. Third module is the mobile application, which can be executed in Android platform (Meier, 2010). The mobile application can access the cloud and retrieve personal records for a particular person in online or offline mode. Unlike conventional mobile computing technologies, the resources in mobile cloud computing are virtualized and assigned in a group of numerous distributed computers rather than local computers or servers (Hans et al., 2012). Every person has a unique identity number in National Identity Card (NIC). This NIC is used in the centralized database as a primary key to distinguish one person from another. This research suggests a new concept for the traditional NIC to attach a Quick Response (QR) code. The mobile application has the capability to read this QR code and pass the information integrated in the QR code to the cloud application. Cloud application will update the information to the centralized database. Methodology Figure 1 depicts the overall design of the proposed system. Mobile application and cloud application are the main modules of the system. The mobile application is implemented with three sub modules namely GUI, Json data interchange and the QR code reader. QR code reading module utilizes the mobile device camera to read a QR code from the NIC. Afterward extracts the particular NIC number and send to the Json parser. This module not only supports for QR code but supports for bar code also. GUI module interacts with the user by displaying the relevant information and receiving particular input from the user. The Json data interchanging module works as a bridge between mobile device and cloud application. The responses will generate according to the user requests by this module. Web application, Model, View and Controller are the sub modules of Cloud application. The web application is developed on Zend developer cloud (Allen & Brown, 2009). It interacts with the requests receive from the mobile application and manipulates the MySQL database. Web application implemented according to the Model-View-Controller architecture. The model consists of the application data, logics, and functions of the web application and database directly interacts with this. View use to display the content to the user according to the controller behavior. The controller is the intermediate between model and view. Controller handles the user requests which are received from the browser and also from the mobile device. Authorized agents can use the mobile application to obtain peoples’ information and also they can update the peoples’ traffic offenses and crime records instantly to the centralized database. When updating the database with new records, the mobile application automatically uses the Global Positioning System (GPS) to find the current location of the user. Moreover the name of the agent who performs the operation and the current date automatically updates. Then it updates the information for that corresponding identity card number. The cloud application is used to maintain the database such as insert, update new citizen’s details and to maintain agents’ profiles. There are two types of users in web application. They are agents and administrators. Agents can create, update, delete and search citizens. But administrators can perform everything that agents do also they can create update delete agents from the system.Item Portable Automated PBX System(Uva Wellassa University of Sri Lanka, 2013) Kriyawasam, U.S.; Rajapaksha, R.W.V.P.C.Voice over Internet Protocol (VoIP) technology lets you to use the Internet to make and receive telephone calls. VoIP is available in a wide range of services such as free VoIP services. For VoIP, a broadband Internet connection, plus a traditional phone and an adapter or a VoIP- enabled phone; or VoIP software on your computer is required. Lot of benefits can be obtained from the VoIP; such as it reduces travel and training, helping employees stay connected to each other, reduce phone charges and have a single network for voice and data therefore it simplifies the managing and reduce costs. Access phone system's features at home or at client offices, in airports and hotels anywhere with a broadband connection. Since the phone calls are made over the Internet Protocol, the base price for VoIP is often less than that of traditional phone lines and also it is adding new dimensions and altering business communications in a big way. Succinctly stated, VoIP converts analog voice signals into digital data packets to facilitate two-way transmission of conversations in real time (James A, 2010). However equipments used to implement VoIP networks are costly. Therefore customers need to spend more money for a branded Private Branch Exchange (PBX) system. Existing systems are lack of mobility and portability since they are massively large to use as portable devices. Therefore this research project was aimed to develop a system to implement portable, low cost and automated PBX system to be used within a Local Area Network (LAN). Methodology System was implemented to use in Linux environment. dyanmips and dynagen servers were used to manage the VoIP by including Analog to Digital Signal conversion and vice versa. First one Linux distribution was installed in flash memory chip to create a portable device. Then dynamips and dynagen servers were installed to the Linux distribution. Next, branded router image was implemented and configured to run on the dynamips and dynagen servers to connect with the LAN. In the next phase of the project, separate accounts were created for each device to manage and transfer VoIP telephony services in the configured router. Initially the system was tested with the Software phones to check the routing. After that Analog Telephone Adapter (ATA) was configured with the system to manage the Analog phones to take calls within a LAN by using Session Initiation Protocol (SIP). Finally the completed system was tested for both Software phones and the Analog phones. Figure 1 depicts the main system flow of the implementation mainly with six modules. Call Route System (CRT) is the place where the server (Cent OS (Linux), dynamips/dynagen and Router) was configured. Main system configurations were configured and included in the CRT module. Graphical User Interface (GUI) for the system router was configured in the GUI module. All the GUI configurations can be implemented with this module. This module provides the facility to monitor the overall system health. GUI module provides the user friendly environment. Digital/Analog module was used to convert Analog data to Digital data and Digital data to Analog data. Analog Call Invoker/Receiver and Digital Call Invoker/Receiver modules were used in the system to connect Analog Telephones and Digital Telephones respectively. Therefore with this proposed system it is possible to use both Analog and Digital phones to receive and invoke a call.