Nt1310 Unit 3 Assignment

Words: 780
Pages: 4

At first capture the video sequence by using web camera. Each frames are segmented. Compare the current frame with the previous one. If the difference between frames exceed threshold, motion is detected. In this a python script would analyze the video, if there is a difference from the last frame it would be flagged and video recording and snapshots generation will begin. Save the frames locally and convert to video. The user will have the capability to customize the settings for frames per second, resolution, brightness, contrast, saturation etc. The user has the option of customizing the action when motion is detected, for example the option used when testing the project was a script, that was executed on the Raspberry Pi to send an email, hence as the motion was detected, the end user received an email and he could do the needful, for example login to the camera and see the movement. The user has the option that when a snapshot/video is saved, by default it is saved locally but the user can customize to send it to a ftp server or sftp server or cloud managed service such as Drop box, which supports command line linux based commands. The …show more content…
Django protocol uses MVC architecture as shown in figure 3.2 below.
Controller:- A controller is the heart of the system, it steers everything. For a web framework, this means handling requests and responses, setting up database connections and loading add-ons. For this, Django reads a settings file so that it knows what to load and set up. And Django reads a URL config file that tells it what to do with the incoming requests from browsers.
Model:- The model layer in Django means the database plus the Python code that directly uses it. It models reality. You capture whatever your website needs in database tables. Django helps you write Python classes that tie 1:1 to the database tables.

Figure 3.2 MVC