Browsing by Author "Udangamuwa, E.M.D.T.E."
Now showing 1 - 2 of 2
Results Per Page
Sort Options
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 An Object Tracking Autometic Camera(Uva Wellassa University of Sri Lanka, 2013) Udangamuwa, E.M.D.T.E.Today object tracking uses in many fields. Modern security systems use object tracking and computer vision technologies to track anomalies movements or track specific object. Security systems specialists implement object tracking concepts on the security camera systems in crowded places as train stations, stadiums to identify a movements and behavior of a specific person among the crowd. Object tracking technologies give greater contribution for construction of semi-automated vehicles. The concept is use to track the lane which the vehicle should go and track the obstacles. Going beyond of the scope, modern systems are developed to monitor the behavior and the movements of child or patient from remote location. Those systems use very advance technologies, and they are much expensive, much complex and harder to operate without specialist knowledge. This proposed Object Tracking Automatic Camera will replace above advanced and costly systems with cost effective user friendly system. Mainly this proposed system has two parts, hardware part and software part. Hardware part contain two micro servo motors attach together to make pan tilt movements, and high quality camera is attach to the pan tilt mechanism. So this camera can rotate along X and Y axis from 0 degrees to 180 degrees, based on the movements of the servo motors. The output of the camera connects to a PC via USB. The servo motors attach to an Ardunio Duemilanove board, which is programmed to control the servo motors based on the signals coming from the PC, and attaches to the PC via USB. Desktop application in the PC processes the video from the camera and generates control outputs. When user clicks on an object he/she want to track, the system identify the color of the object and calculate the current position of the object. When object moves system passes signals to the microcontroller to rotate servo motors to track the position of'the object. So the system will track objects which are run away from normal still camera's video boundary, and keep the tracked object in the center of the display screen all the time by moving the camera towards the object.