ASSISTIVE MONITORING PROJECT
Palaniappan Thenimalai Ganesh, Intern, Heracleia.
The main purpose of assistive monitoring is to do the lab surveillance remotely. In the modern world, security is given foremost importance and priority. Through this project, it is possible to capture the movement in the lab as video and also during motion detection, snapshots are taken. The snapshots taken can be sent to different persons through E mail. The camera takes snapshots immediately when the motion is detected in the lab door. The snapshots taken are stored as temporary file in the system. When the Email alert is enabled, the snapshots are sent to the person's inbox directly. The mechanism and working of motion detection function and networking part involved in Email alert through SMTP, FTP is explained.
Devices:
The devices required for this are internet security camera, router, Ethernet cable and a Computer.
Requirments:
The basic requirements of this project are high speed internet connection, windows server and a wireless LAN. The internet security camera used in this project is Ethernet type, but there are internet security cameras that work wireless. Internet security cameras can be used for a number of different purposes.
Applications:
It is relatively simple to set up an Internet security cameras to both monitor the care your children are getting at home, as well as to see what your kids or pets are doing throughout the day. Some Internet security cameras also provide you with two way communication options so your kids and the nanny can talk with you via your Internet connection.
Another common use for Internet security cameras is to monitor homes or businesses from a remote location. For home security you can set up wireless security cameras so that you can quickly check the perimeter of your home, check points of entry and make sure your home is safe and secure. Since you can access your security videos from any computer that has Internet access you can check on your home while on vacation, at work, or in the bedroom. A similar set up can be done for a business, needing to monitor valuable pieces of merchandise, points of entry and areas where theft is likely to occur.
Working and Configuration of an Internet Security Camera:
The camera is fixed with the given rigid metal stand using screws. The camera is then connected to electric supply through power cord. The Ethernet cable is used to connect the Internet camera with router. There are cameras operating wirelessly, which need a wireless router to be present in vicinity. The default IP address used here according to the manufacturer is 192.168.1.30. Hence it is necessary to change the system's (where the code runs) IP address in accordance with the camera IP address. By doing so, we can log into webpage of the camera as designed by the manufacturer. It will prompt us to give the login name and password. If the system's IP address does not come in line with the default address as set, the camera will not work. It is possible to see the online video of the object that is being focused once the IP addresses match each other. There are options to record the video using scheduled timing and motion capture. When the scheduled timing option is enabled, it will record the video for that given period of time and save it in system hard drive as set.
Now the foremost part of this project was to send snapshots through Email during motion detection. There are many approaches for motion detection in a continuous video stream. All of them are based on comparing of the current video frame with one from the previous frames or with something that we'll call background. A device with motion detection remains off until it is triggered by movement. This is very useful in terms of surveillance cameras. Not only does this save power, recording materials, and general wear on the device from excessive use, it also provides convenience. The main programming language used in this one is Java. The main logic behind this is a very simple algorithm: simply capture two images from the camera in succession then take the absolute value of the difference of the two images. The image obtained will give an image that shows only the differences between the images (which in this case amounts to motion). There should be some threshold on the amount of difference that must appear before considering the motion detection.Voting system is giving vote to pixels which we think that can be part of background. In this algorithm, program compares each image in order and finds same pixels. If these pixels are also in background image, it increases their vote by one. If they are not in background image then decreases each pixels' vote by one. If any pixel's vote becomes zero it changes background pixel with image's related pixel. Thus the main thing involved during motion detection is pixel variation. The pixel variation of the primary colors red, blue and green will help to find the motion detection.
E-Mail Notification:
When the motion is detected by the camera, it will take a snapshot of image. It is stored in system's hard drive as temporary file. We can Email notify a person using SMTP(Simple mail transfer protocol) and also through FTP (File transfer protocol). But for this purpose, we need a wireless modem attached to the system. Since we synchronize the system's IP address with that of camera, the Email function won't work. Hence a wireless PCI adapter is installed in to system for accessing the internet wirelessly. The Email alert of snapshots during motion detection is done with server SMTP address. The address which we used here is 'mail.uta.edu', and it is also required to give the sender's and receiver's Email address. Generally domain name server SMTP address such as pop.gmail.com, smtp.gmail.com will not work. Instead the service providers SMTP address like smtp-server.tx.rr.com will work. The FTP part of the snapshots alert to another person can be done in LINUX OS with a FTP server running in it. Since the Email alert function is inbuilt with the manufacturers IP address site, currently the motion detection and Email alert in done through it. The top priority is effective web surveillance of lab against unknown intruders and theft remotely. This is done by video recording and snapshot Email alerts of Internet security camera. The future work in this project involves lot of interesting work for effective assistive monitoring. The future work involves designing a website with all the functions as the manufacturers IP site so that the code written above can be run in our server itself rather than using manufactures inbuilt code. Secondly to create a photo repository with access control in the server.
The following are the few snapshots that are taken by camera during motion: