Commit dc6df598 authored by Shubhranshu's avatar Shubhranshu

Added both user and developer documentation

parent fd2aed3a
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 22835cc5a440cb3214d2018bd538086f
tags: 645f666f9bcd5a90fca523b33c5a78b7
.. _check_internet:
************************
check_internet Reference
************************
Following are the classes and functions defined within this module:
.. automodule:: Project.system.check_internet
:members:
.. _data_usage_per_app:
****************************
data_usage_per_app Reference
****************************
Following are the classes and functions defined within this module:
.. automodule:: Project.system.data_usage_per_app
:members:
\ No newline at end of file
.. Protracktor documentation master file, created by
sphinx-quickstart on Tue Nov 17 15:45:04 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Protracktor - Local Proctoring and Activity Tracker
===================================================
**Protracktor** is a local proctoring and activity tracking application. It is designed to address the issues faced by the students of the IIT-Bombay in this online setup.
The online environment of conducting classes & delivering lecture content, assignments, proctoring and evaluation has created several opportunities along with challenges towards which this application is projected.
Protracktor aims to let users manage their screen time and to ease the management of video proctoring by managing video recordings and activity tracker so that students are able to give uninterrupted exams without dealing with the pain of setting up video cam and screen recording everytime the connection is lost while being video proctored. The application will automatically detect loss of internet connection and start webcam and screen recording. It will also generate time-stamped activity statistics for whatever time the exam was scheduled so that any suspicious activity can easily be detected. This will both be beneficial for students as well as teachers for conducting remote proctoring exams. To acheive this following 4 options are added in the application:
* Webcam Recording
* Screen recording
* Activity Manager
* Data usage per app
Contents
========
Following are the list of modules in the application
.. toctree::
:maxdepth: 1
check internet <check_internet>
Data usage per app <data_usage_per_app>
Screen <screen>
Webcam <webcam>
Read config <read_config>
Window activity <window_activity>
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. _read_config:
*********************
read_config Reference
*********************
Following are the classes and functions defined within this module:
.. automodule:: Project.system.read_config
:members:
\ No newline at end of file
.. _screen:
****************
screen Reference
****************
Following are the classes and functions defined within this module:
.. automodule:: Project.system.screen
:members:
\ No newline at end of file
.. _webcam:
****************
webcam Reference
****************
Following are the classes and functions defined within this module:
.. automodule:: Project.system.webcam
:members:
\ No newline at end of file
.. _window_activity:
*************************
window_activity Reference
*************************
Following are the classes and functions defined within this module:
.. automodule:: Project.system.window_activity
:members:
/*
* doctools.js
* ~~~~~~~~~~~
*
* Sphinx JavaScript utilities for all documentation.
*
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
/**
* select a different prefix for underscore
*/
$u = _.noConflict();
/**
* make the code below compatible with browsers without
* an installed firebug like debugger
if (!window.console || !console.firebug) {
var names = ["log", "debug", "info", "warn", "error", "assert", "dir",
"dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace",
"profile", "profileEnd"];
window.console = {};
for (var i = 0; i < names.length; ++i)
window.console[names[i]] = function() {};
}
*/
/**
* small helper function to urldecode strings
*/
jQuery.urldecode = function(x) {
return decodeURIComponent(x).replace(/\+/g, ' ');
};
/**
* small helper function to urlencode strings
*/
jQuery.urlencode = encodeURIComponent;
/**
* This function returns the parsed url parameters of the
* current request. Multiple values per key are supported,
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s === 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
for (var i = 0; i < parts.length; i++) {
var tmp = parts[i].split('=', 2);
var key = jQuery.urldecode(tmp[0]);
var value = jQuery.urldecode(tmp[1]);
if (key in result)
result[key].push(value);
else
result[key] = [value];
}
return result;
};
/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node, addItems) {
if (node.nodeType === 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 &&
!jQuery(node.parentNode).hasClass(className) &&
!jQuery(node.parentNode).hasClass("nohighlight")) {
var span;
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
if (isInSVG) {
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
} else {
span = document.createElement("span");
span.className = className;
}
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
if (isInSVG) {
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
var bbox = node.parentElement.getBBox();
rect.x.baseVal.value = bbox.x;
rect.y.baseVal.value = bbox.y;
rect.width.baseVal.value = bbox.width;
rect.height.baseVal.value = bbox.height;
rect.setAttribute('class', className);
addItems.push({
"parent": node.parentNode,
"target": rect});
}
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this, addItems);
});
}
}
var addItems = [];
var result = this.each(function() {
highlight(this, addItems);
});
for (var i = 0; i < addItems.length; ++i) {
jQuery(addItems[i].parent).before(addItems[i].target);
}
return result;
};
/*
* backward compatibility for jQuery.browser
* This will be supported until firefox bug is fixed.
*/
if (!jQuery.browser) {
jQuery.uaMatch = function(ua) {
ua = ua.toLowerCase();
var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[];
return {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
};
jQuery.browser = {};
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
}
/**
* Small JavaScript module for the documentation.
*/
var Documentation = {
init : function() {
this.fixFirefoxAnchorBug();
this.highlightSearchWords();
this.initIndexTable();
if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) {
this.initOnKeyListeners();
}
},
/**
* i18n support
*/
TRANSLATIONS : {},
PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; },
LOCALE : 'unknown',
// gettext and ngettext don't access this so that the functions
// can safely bound to a different name (_ = Documentation.gettext)
gettext : function(string) {
var translated = Documentation.TRANSLATIONS[string];
if (typeof translated === 'undefined')
return string;
return (typeof translated === 'string') ? translated : translated[0];
},
ngettext : function(singular, plural, n) {
var translated = Documentation.TRANSLATIONS[singular];
if (typeof translated === 'undefined')
return (n == 1) ? singular : plural;
return translated[Documentation.PLURALEXPR(n)];
},
addTranslations : function(catalog) {
for (var key in catalog.messages)
this.TRANSLATIONS[key] = catalog.messages[key];
this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')');
this.LOCALE = catalog.locale;
},
/**
* add context elements like header anchor links
*/
addContextElements : function() {
$('div[id] > :header:first').each(function() {
$('<a class="headerlink">\u00B6</a>').
attr('href', '#' + this.id).
attr('title', _('Permalink to this headline')).
appendTo(this);
});
$('dt[id]').each(function() {
$('<a class="headerlink">\u00B6</a>').
attr('href', '#' + this.id).
attr('title', _('Permalink to this definition')).
appendTo(this);
});
},
/**
* workaround a firefox stupidity
* see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
*/
fixFirefoxAnchorBug : function() {
if (document.location.hash && $.browser.mozilla)
window.setTimeout(function() {
document.location.href += '';
}, 10);
},
/**
* highlight the search words provided in the url in the text
*/
highlightSearchWords : function() {
var params = $.getQueryParameters();
var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
if (terms.length) {
var body = $('div.body');
if (!body.length) {
body = $('body');
}
window.setTimeout(function() {
$.each(terms, function() {
body.highlightText(this.toLowerCase(), 'highlighted');
});
}, 10);
$('<p class="highlight-link"><a href="javascript:Documentation.' +
'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>')
.appendTo($('#searchbox'));
}
},
/**
* init the domain index toggle buttons
*/
initIndexTable : function() {
var togglers = $('img.toggler').click(function() {
var src = $(this).attr('src');
var idnum = $(this).attr('id').substr(7);
$('tr.cg-' + idnum).toggle();
if (src.substr(-9) === 'minus.png')
$(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
else
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
}).css('display', '');
if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) {
togglers.click();
}
},
/**
* helper function to hide the search marks again
*/
hideSearchWords : function() {
$('#searchbox .highlight-link').fadeOut(300);
$('span.highlighted').removeClass('highlighted');
},
/**
* make the url absolute
*/
makeURL : function(relativeURL) {
return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL;
},
/**
* get the current relative url
*/
getCurrentURL : function() {
var path = document.location.pathname;
var parts = path.split(/\//);
$.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
if (this === '..')
parts.pop();
});
var url = parts.join('/');
return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
},
initOnKeyListeners: function() {
$(document).keydown(function(event) {
var activeElementType = document.activeElement.tagName;
// don't navigate when in search box, textarea, dropdown or button
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
&& activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey
&& !event.shiftKey) {
switch (event.keyCode) {
case 37: // left
var prevHref = $('link[rel="prev"]').prop('href');
if (prevHref) {
window.location.href = prevHref;
return false;
}
case 39: // right
var nextHref = $('link[rel="next"]').prop('href');
if (nextHref) {
window.location.href = nextHref;
return false;
}
}
}
});
}
};
// quick alias for translations
_ = Documentation.gettext;
$(document).ready(function() {
Documentation.init();
});
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.0.1',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
FILE_SUFFIX: '.html',
LINK_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
NAVIGATION_WITH_KEYS: false
};
\ No newline at end of file
/*
* nature.css_t
* ~~~~~~~~~~~~
*
* Sphinx stylesheet -- nature theme.
*
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@import url("basic.css");
/* -- page layout ----------------------------------------------------------- */
body {
font-family: Arial, sans-serif;
font-size: 100%;
background-color: #fff;
color: #555;
margin: 0;
padding: 0;
}
div.documentwrapper {
float: left;
width: 100%;
}
div.bodywrapper {
margin: 0 0 0 230px;
}
hr {
border: 1px solid #B1B4B6;
}
div.document {
background-color: #eee;
}
div.body {
background-color: #ffffff;
color: #3E4349;
padding: 0 30px 30px 30px;
font-size: 0.9em;
}
div.footer {
color: #555;
width: 100%;
padding: 13px 0;
text-align: center;
font-size: 75%;
}
div.footer a {
color: #444;
text-decoration: underline;
}
div.related {
background-color: #6BA81E;
line-height: 32px;
color: #fff;
text-shadow: 0px 1px 0 #444;
font-size: 0.9em;
}
div.related a {
color: #E2F3CC;
}
div.sphinxsidebar {
font-size: 0.75em;
line-height: 1.5em;
}
div.sphinxsidebarwrapper{
padding: 20px 0;
}
div.sphinxsidebar h3,
div.sphinxsidebar h4 {
font-family: Arial, sans-serif;
color: #222;
font-size: 1.2em;
font-weight: normal;
margin: 0;
padding: 5px 10px;
background-color: #ddd;
text-shadow: 1px 1px 0 white
}
div.sphinxsidebar h4{
font-size: 1.1em;
}
div.sphinxsidebar h3 a {
color: #444;
}
div.sphinxsidebar p {
color: #888;
padding: 5px 20px;
}
div.sphinxsidebar p.topless {
}
div.sphinxsidebar ul {
margin: 10px 20px;
padding: 0;
color: #000;
}
div.sphinxsidebar a {
color: #444;
}
div.sphinxsidebar input {
border: 1px solid #ccc;
font-family: sans-serif;
font-size: 1em;
}
div.sphinxsidebar .searchformwrapper {
margin-left: 20px;
margin-right: 20px;
}
/* -- body styles ----------------------------------------------------------- */
a {
color: #005B81;
text-decoration: none;
}
a:hover {
color: #E32E00;
text-decoration: underline;
}
div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
font-family: Arial, sans-serif;
background-color: #BED4EB;
font-weight: normal;
color: #212224;
margin: 30px 0px 10px 0px;
padding: 5px 0 5px 10px;
text-shadow: 0px 1px 0 white
}
div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 150%; background-color: #C8D5E3; }
div.body h3 { font-size: 120%; background-color: #D8DEE3; }
div.body h4 { font-size: 110%; background-color: #D8DEE3; }
div.body h5 { font-size: 100%; background-color: #D8DEE3; }
div.body h6 { font-size: 100%; background-color: #D8DEE3; }
a.headerlink {
color: #c60f0f;
font-size: 0.8em;
padding: 0 4px 0 4px;
text-decoration: none;
}
a.headerlink:hover {
background-color: #c60f0f;
color: white;
}
div.body p, div.body dd, div.body li {
line-height: 1.5em;
}
div.admonition p.admonition-title + p {
display: inline;
}
div.note {
background-color: #eee;
border: 1px solid #ccc;
}
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
}
div.topic {
background-color: #eee;
}
div.warning {
background-color: #ffe4e4;
border: 1px solid #f66;
}
p.admonition-title {
display: inline;
}
p.admonition-title:after {
content: ":";
}
pre {
padding: 10px;
line-height: 1.2em;
border: 1px solid #C6C9CB;
font-size: 1.1em;
margin: 1.5em 0 1.5em 0;
-webkit-box-shadow: 1px 1px 1px #d8d8d8;
-moz-box-shadow: 1px 1px 1px #d8d8d8;
}
code {
background-color: #ecf0f3;
color: #222;
/* padding: 1px 2px; */
font-size: 1.1em;
font-family: monospace;
}
.viewcode-back {
font-family: Arial, sans-serif;
}
div.viewcode-block:target {
background-color: #f4debf;
border-top: 1px solid #ac9;
border-bottom: 1px solid #ac9;
}
div.code-block-caption {
background-color: #ddd;
color: #222;
border: 1px solid #C6C9CB;
}
\ No newline at end of file
pre { line-height: 125%; margin: 0; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #f8f8f8; }
.highlight .c { color: #8f5902; font-style: italic } /* Comment */
.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
.highlight .g { color: #000000 } /* Generic */
.highlight .k { color: #204a87; font-weight: bold } /* Keyword */
.highlight .l { color: #000000 } /* Literal */
.highlight .n { color: #000000 } /* Name */
.highlight .o { color: #ce5c00; font-weight: bold } /* Operator */
.highlight .x { color: #000000 } /* Other */
.highlight .p { color: #000000; font-weight: bold } /* Punctuation */
.highlight .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #8f5902; font-style: italic } /* Comment.Preproc */
.highlight .cpf { color: #8f5902; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #8f5902; font-style: italic } /* Comment.Single */
.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */
.highlight .gd { color: #a40000 } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #ef2929 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #000000; font-style: italic } /* Generic.Output */
.highlight .gp { color: #8f5902 } /* Generic.Prompt */
.highlight .gs { color: #000000; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */
.highlight .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #204a87; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #204a87; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #204a87; font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { color: #204a87; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #204a87; font-weight: bold } /* Keyword.Type */
.highlight .ld { color: #000000 } /* Literal.Date */
.highlight .m { color: #0000cf; font-weight: bold } /* Literal.Number */
.highlight .s { color: #4e9a06 } /* Literal.String */
.highlight .na { color: #c4a000 } /* Name.Attribute */
.highlight .nb { color: #204a87 } /* Name.Builtin */
.highlight .nc { color: #000000 } /* Name.Class */
.highlight .no { color: #000000 } /* Name.Constant */
.highlight .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #ce5c00 } /* Name.Entity */
.highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #000000 } /* Name.Function */
.highlight .nl { color: #f57900 } /* Name.Label */
.highlight .nn { color: #000000 } /* Name.Namespace */
.highlight .nx { color: #000000 } /* Name.Other */
.highlight .py { color: #000000 } /* Name.Property */
.highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #000000 } /* Name.Variable */
.highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */
.highlight .w { color: #f8f8f8; text-decoration: underline } /* Text.Whitespace */
.highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #4e9a06 } /* Literal.String.Affix */
.highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */
.highlight .sc { color: #4e9a06 } /* Literal.String.Char */
.highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */
.highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #4e9a06 } /* Literal.String.Double */
.highlight .se { color: #4e9a06 } /* Literal.String.Escape */
.highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */
.highlight .si { color: #4e9a06 } /* Literal.String.Interpol */
.highlight .sx { color: #4e9a06 } /* Literal.String.Other */
.highlight .sr { color: #4e9a06 } /* Literal.String.Regex */
.highlight .s1 { color: #4e9a06 } /* Literal.String.Single */
.highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */
.highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #000000 } /* Name.Function.Magic */
.highlight .vc { color: #000000 } /* Name.Variable.Class */
.highlight .vg { color: #000000 } /* Name.Variable.Global */
.highlight .vi { color: #000000 } /* Name.Variable.Instance */
.highlight .vm { color: #000000 } /* Name.Variable.Magic */
.highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>check_internet Reference &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="data_usage_per_app Reference" href="data_usage_per_app.html" />
<link rel="prev" title="Protracktor - Local Proctoring and Activity Tracker" href="index.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="data_usage_per_app.html" title="data_usage_per_app Reference"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="index.html" title="Protracktor - Local Proctoring and Activity Tracker"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">check_internet Reference</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="check-internet-reference">
<span id="check-internet"></span><h1>check_internet Reference<a class="headerlink" href="#check-internet-reference" title="Permalink to this headline"></a></h1>
<p>Following are the classes and functions defined within this module:</p>
<span class="target" id="module-Project.system.check_internet"></span><dl class="py function">
<dt id="Project.system.check_internet.check">
<code class="sig-prename descclassname">Project.system.check_internet.</code><code class="sig-name descname">check</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.check_internet.check" title="Permalink to this definition"></a></dt>
<dd><p>This method issues notification if Internet comes back.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>True or False</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p>bool</p>
</dd>
</dl>
</dd></dl>
<dl class="py function">
<dt id="Project.system.check_internet.connect">
<code class="sig-prename descclassname">Project.system.check_internet.</code><code class="sig-name descname">connect</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">host</span><span class="o">=</span><span class="default_value">'http://google.com'</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.check_internet.connect" title="Permalink to this definition"></a></dt>
<dd><p>This method checks internet connectivity by pinging google.com</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>True or False</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p>bool</p>
</dd>
</dl>
</dd></dl>
<dl class="py class">
<dt id="Project.system.check_internet.myThread5">
<em class="property">class </em><code class="sig-prename descclassname">Project.system.check_internet.</code><code class="sig-name descname">myThread5</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">val1</span></em>, <em class="sig-param"><span class="n">val2</span></em>, <em class="sig-param"><span class="n">course_name</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.check_internet.myThread5" title="Permalink to this definition"></a></dt>
<dd><dl class="py method">
<dt id="Project.system.check_internet.myThread5.run">
<code class="sig-name descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.check_internet.myThread5.run" title="Permalink to this definition"></a></dt>
<dd><p>This method controls the calling of other methods like checking of internet connectivity and calling notification functions.</p>
</dd></dl>
</dd></dl>
<dl class="py function">
<dt id="Project.system.check_internet.notify">
<code class="sig-prename descclassname">Project.system.check_internet.</code><code class="sig-name descname">notify</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">val1</span></em>, <em class="sig-param"><span class="n">val2</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.check_internet.notify" title="Permalink to this definition"></a></dt>
<dd><p>This method issue notification to the user if Internet is down and starts the local proctoring thread .</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>val1</strong> (<em>bool</em>) – bool argument</p></li>
<li><p><strong>val2</strong> (<em>bool</em>) – bool argument</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>True or False</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>bool</p>
</dd>
</dl>
</dd></dl>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="index.html"
title="previous chapter">Protracktor - Local Proctoring and Activity Tracker</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="data_usage_per_app.html"
title="next chapter">data_usage_per_app Reference</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/check_internet.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="data_usage_per_app.html" title="data_usage_per_app Reference"
>next</a> |</li>
<li class="right" >
<a href="index.html" title="Protracktor - Local Proctoring and Activity Tracker"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">check_internet Reference</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>data_usage_per_app Reference &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="screen Reference" href="screen.html" />
<link rel="prev" title="check_internet Reference" href="check_internet.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="screen.html" title="screen Reference"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="check_internet.html" title="check_internet Reference"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">data_usage_per_app Reference</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="data-usage-per-app-reference">
<span id="data-usage-per-app"></span><h1>data_usage_per_app Reference<a class="headerlink" href="#data-usage-per-app-reference" title="Permalink to this headline"></a></h1>
<p>Following are the classes and functions defined within this module:</p>
<span class="target" id="module-Project.system.data_usage_per_app"></span><dl class="py class">
<dt id="Project.system.data_usage_per_app.myThread3">
<em class="property">class </em><code class="sig-prename descclassname">Project.system.data_usage_per_app.</code><code class="sig-name descname">myThread3</code><a class="headerlink" href="#Project.system.data_usage_per_app.myThread3" title="Permalink to this definition"></a></dt>
<dd><dl class="py method">
<dt id="Project.system.data_usage_per_app.myThread3.run">
<code class="sig-name descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.data_usage_per_app.myThread3.run" title="Permalink to this definition"></a></dt>
<dd><p>Method representing the thread’s activity.</p>
<p>You may override this method in a subclass. The standard run() method
invokes the callable object passed to the object’s constructor as the
target argument, if any, with sequential and keyword arguments taken
from the args and kwargs arguments, respectively.</p>
</dd></dl>
</dd></dl>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="check_internet.html"
title="previous chapter">check_internet Reference</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="screen.html"
title="next chapter">screen Reference</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/data_usage_per_app.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="screen.html" title="screen Reference"
>next</a> |</li>
<li class="right" >
<a href="check_internet.html" title="check_internet Reference"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">data_usage_per_app Reference</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="#" />
<link rel="search" title="Search" href="search.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="#" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Index</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<h1 id="index">Index</h1>
<div class="genindex-jumpbox">
<a href="#C"><strong>C</strong></a>
| <a href="#G"><strong>G</strong></a>
| <a href="#M"><strong>M</strong></a>
| <a href="#N"><strong>N</strong></a>
| <a href="#P"><strong>P</strong></a>
| <a href="#R"><strong>R</strong></a>
| <a href="#S"><strong>S</strong></a>
| <a href="#T"><strong>T</strong></a>
| <a href="#W"><strong>W</strong></a>
</div>
<h2 id="C">C</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="check_internet.html#Project.system.check_internet.check">check() (in module Project.system.check_internet)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="check_internet.html#Project.system.check_internet.connect">connect() (in module Project.system.check_internet)</a>
</li>
<li><a href="window_activity.html#Project.system.window_activity.currtime">currtime() (in module Project.system.window_activity)</a>
</li>
</ul></td>
</tr></table>
<h2 id="G">G</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="window_activity.html#Project.system.window_activity.get">get() (in module Project.system.window_activity)</a>
</li>
</ul></td>
</tr></table>
<h2 id="M">M</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
module
<ul>
<li><a href="check_internet.html#module-Project.system.check_internet">Project.system.check_internet</a>
</li>
<li><a href="data_usage_per_app.html#module-Project.system.data_usage_per_app">Project.system.data_usage_per_app</a>
</li>
<li><a href="read_config.html#module-Project.system.read_config">Project.system.read_config</a>
</li>
<li><a href="screen.html#module-Project.system.screen">Project.system.screen</a>
</li>
<li><a href="webcam.html#module-Project.system.webcam">Project.system.webcam</a>
</li>
<li><a href="window_activity.html#module-Project.system.window_activity">Project.system.window_activity</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="screen.html#Project.system.screen.myThread1">myThread1 (class in Project.system.screen)</a>
</li>
<li><a href="webcam.html#Project.system.webcam.myThread2">myThread2 (class in Project.system.webcam)</a>
</li>
<li><a href="data_usage_per_app.html#Project.system.data_usage_per_app.myThread3">myThread3 (class in Project.system.data_usage_per_app)</a>
</li>
<li><a href="window_activity.html#Project.system.window_activity.myThread4">myThread4 (class in Project.system.window_activity)</a>
</li>
<li><a href="check_internet.html#Project.system.check_internet.myThread5">myThread5 (class in Project.system.check_internet)</a>
</li>
</ul></td>
</tr></table>
<h2 id="N">N</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="check_internet.html#Project.system.check_internet.notify">notify() (in module Project.system.check_internet)</a>
</li>
</ul></td>
</tr></table>
<h2 id="P">P</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="window_activity.html#Project.system.window_activity.plot">plot() (in module Project.system.window_activity)</a>
</li>
<li>
Project.system.check_internet
<ul>
<li><a href="check_internet.html#module-Project.system.check_internet">module</a>
</li>
</ul></li>
<li>
Project.system.data_usage_per_app
<ul>
<li><a href="data_usage_per_app.html#module-Project.system.data_usage_per_app">module</a>
</li>
</ul></li>
<li>
Project.system.read_config
<ul>
<li><a href="read_config.html#module-Project.system.read_config">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
Project.system.screen
<ul>
<li><a href="screen.html#module-Project.system.screen">module</a>
</li>
</ul></li>
<li>
Project.system.webcam
<ul>
<li><a href="webcam.html#module-Project.system.webcam">module</a>
</li>
</ul></li>
<li>
Project.system.window_activity
<ul>
<li><a href="window_activity.html#module-Project.system.window_activity">module</a>
</li>
</ul></li>
</ul></td>
</tr></table>
<h2 id="R">R</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="read_config.html#Project.system.read_config.read_config">read_config() (in module Project.system.read_config)</a>
</li>
<li><a href="check_internet.html#Project.system.check_internet.myThread5.run">run() (Project.system.check_internet.myThread5 method)</a>
<ul>
<li><a href="data_usage_per_app.html#Project.system.data_usage_per_app.myThread3.run">(Project.system.data_usage_per_app.myThread3 method)</a>
</li>
<li><a href="screen.html#Project.system.screen.myThread1.run">(Project.system.screen.myThread1 method)</a>
</li>
<li><a href="webcam.html#Project.system.webcam.myThread2.run">(Project.system.webcam.myThread2 method)</a>
</li>
<li><a href="window_activity.html#Project.system.window_activity.myThread4.run">(Project.system.window_activity.myThread4 method)</a>
</li>
</ul></li>
</ul></td>
</tr></table>
<h2 id="S">S</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="window_activity.html#Project.system.window_activity.summarize">summarize() (in module Project.system.window_activity)</a>
</li>
</ul></td>
</tr></table>
<h2 id="T">T</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="window_activity.html#Project.system.window_activity.time_format">time_format() (in module Project.system.window_activity)</a>
</li>
</ul></td>
</tr></table>
<h2 id="W">W</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="read_config.html#Project.system.read_config.write_config">write_config() (in module Project.system.read_config)</a>
</li>
</ul></td>
</tr></table>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="#" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Index</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Protracktor - Local Proctoring and Activity Tracker &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="check_internet Reference" href="check_internet.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="check_internet.html" title="check_internet Reference"
accesskey="N">next</a> |</li>
<li class="nav-item nav-item-0"><a href="#">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Protracktor - Local Proctoring and Activity Tracker</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="protracktor-local-proctoring-and-activity-tracker">
<h1>Protracktor - Local Proctoring and Activity Tracker<a class="headerlink" href="#protracktor-local-proctoring-and-activity-tracker" title="Permalink to this headline"></a></h1>
<p><strong>Protracktor</strong> is a local proctoring and activity tracking application. It is designed to address the issues faced by the students of the IIT-Bombay in this online setup.
The online environment of conducting classes &amp; delivering lecture content, assignments, proctoring and evaluation has created several opportunities along with challenges towards which this application is projected.</p>
<p>Protracktor aims to let users manage their screen time and to ease the management of video proctoring by managing video recordings and activity tracker so that students are able to give uninterrupted exams without dealing with the pain of setting up video cam and screen recording everytime the connection is lost while being video proctored. The application will automatically detect loss of internet connection and start webcam and screen recording. It will also generate time-stamped activity statistics for whatever time the exam was scheduled so that any suspicious activity can easily be detected. This will both be beneficial for students as well as teachers for conducting remote proctoring exams. To acheive this following 4 options are added in the application:</p>
<ul class="simple">
<li><p>Webcam Recording</p></li>
<li><p>Screen recording</p></li>
<li><p>Activity Manager</p></li>
<li><p>Data usage per app</p></li>
</ul>
</div>
<div class="section" id="contents">
<h1>Contents<a class="headerlink" href="#contents" title="Permalink to this headline"></a></h1>
<p>Following are the list of modules in the application</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="check_internet.html">check internet</a></li>
<li class="toctree-l1"><a class="reference internal" href="data_usage_per_app.html">Data usage per app</a></li>
<li class="toctree-l1"><a class="reference internal" href="screen.html">Screen</a></li>
<li class="toctree-l1"><a class="reference internal" href="webcam.html">Webcam</a></li>
<li class="toctree-l1"><a class="reference internal" href="read_config.html">Read config</a></li>
<li class="toctree-l1"><a class="reference internal" href="window_activity.html">Window activity</a></li>
</ul>
</div>
</div>
<div class="section" id="indices-and-tables">
<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h1>
<ul class="simple">
<li><p><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></p></li>
<li><p><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Module Index</span></a></p></li>
<li><p><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></p></li>
</ul>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="#">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Protracktor - Local Proctoring and Activity Tracker</a></li>
<li><a class="reference internal" href="#contents">Contents</a></li>
<li><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
</ul>
<h4>Next topic</h4>
<p class="topless"><a href="check_internet.html"
title="next chapter">check_internet Reference</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/index.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="check_internet.html" title="check_internet Reference"
>next</a> |</li>
<li class="nav-item nav-item-0"><a href="#">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Protracktor - Local Proctoring and Activity Tracker</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="#" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Python Module Index</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<h1>Python Module Index</h1>
<div class="modindex-jumpbox">
<a href="#cap-p"><strong>p</strong></a>
</div>
<table class="indextable modindextable">
<tr class="pcap"><td></td><td>&#160;</td><td></td></tr>
<tr class="cap" id="cap-p"><td></td><td>
<strong>p</strong></td><td></td></tr>
<tr>
<td><img src="_static/minus.png" class="toggler"
id="toggle-1" style="display: none" alt="-" /></td>
<td>
<code class="xref">Project</code></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="check_internet.html#module-Project.system.check_internet"><code class="xref">Project.system.check_internet</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="data_usage_per_app.html#module-Project.system.data_usage_per_app"><code class="xref">Project.system.data_usage_per_app</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="read_config.html#module-Project.system.read_config"><code class="xref">Project.system.read_config</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="screen.html#module-Project.system.screen"><code class="xref">Project.system.screen</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="webcam.html#module-Project.system.webcam"><code class="xref">Project.system.webcam</code></a></td><td>
<em></em></td></tr>
<tr class="cg-1">
<td></td>
<td>&#160;&#160;&#160;
<a href="window_activity.html#module-Project.system.window_activity"><code class="xref">Project.system.window_activity</code></a></td><td>
<em></em></td></tr>
</table>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="#" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Python Module Index</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>read_config Reference &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="window_activity Reference" href="window_activity.html" />
<link rel="prev" title="webcam Reference" href="webcam.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="window_activity.html" title="window_activity Reference"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="webcam.html" title="webcam Reference"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">read_config Reference</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="read-config-reference">
<span id="read-config"></span><h1>read_config Reference<a class="headerlink" href="#read-config-reference" title="Permalink to this headline"></a></h1>
<p>Following are the classes and functions defined within this module:</p>
<span class="target" id="module-Project.system.read_config"></span><dl class="py function">
<dt id="Project.system.read_config.read_config">
<code class="sig-prename descclassname">Project.system.read_config.</code><code class="sig-name descname">read_config</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.read_config.read_config" title="Permalink to this definition"></a></dt>
<dd><p>This method reads the config file to get the course no.
:returns: course no stored in the config file
:rtype: str</p>
</dd></dl>
<dl class="py function">
<dt id="Project.system.read_config.write_config">
<code class="sig-prename descclassname">Project.system.read_config.</code><code class="sig-name descname">write_config</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">str</span></em><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.read_config.write_config" title="Permalink to this definition"></a></dt>
<dd><p>This method updates the config file with new course no.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>str</strong> – String argument</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p>str</p>
</dd>
</dl>
</dd></dl>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="webcam.html"
title="previous chapter">webcam Reference</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="window_activity.html"
title="next chapter">window_activity Reference</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/read_config.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="window_activity.html" title="window_activity Reference"
>next</a> |</li>
<li class="right" >
<a href="webcam.html" title="webcam Reference"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">read_config Reference</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>screen Reference &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="webcam Reference" href="webcam.html" />
<link rel="prev" title="data_usage_per_app Reference" href="data_usage_per_app.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="webcam.html" title="webcam Reference"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="data_usage_per_app.html" title="data_usage_per_app Reference"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">screen Reference</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="screen-reference">
<span id="screen"></span><h1>screen Reference<a class="headerlink" href="#screen-reference" title="Permalink to this headline"></a></h1>
<p>Following are the classes and functions defined within this module:</p>
<span class="target" id="module-Project.system.screen"></span><dl class="py class">
<dt id="Project.system.screen.myThread1">
<em class="property">class </em><code class="sig-prename descclassname">Project.system.screen.</code><code class="sig-name descname">myThread1</code><a class="headerlink" href="#Project.system.screen.myThread1" title="Permalink to this definition"></a></dt>
<dd><dl class="py method">
<dt id="Project.system.screen.myThread1.run">
<code class="sig-name descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.screen.myThread1.run" title="Permalink to this definition"></a></dt>
<dd><p>This method generates the Screen Recording file.
It specifies the device screen resolution and takes screenshot using PyAutoGUI.
The screenshot is converted to a numpy array.
PyAutoGUI captures the screen in RGB(Red, Green, Blue) form and OpenCV converts it to BGR(Blue, Green, Red) and then writes that in an output file.
The file is saved in ScreenRecordings folder and named by current date and time in .avi format.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Screen Recording file</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="data_usage_per_app.html"
title="previous chapter">data_usage_per_app Reference</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="webcam.html"
title="next chapter">webcam Reference</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/screen.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="webcam.html" title="webcam Reference"
>next</a> |</li>
<li class="right" >
<a href="data_usage_per_app.html" title="data_usage_per_app Reference"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">screen Reference</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<script src="_static/searchtools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="#" />
<script src="searchindex.js" defer></script>
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Search</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<h1 id="search-documentation">Search</h1>
<div id="fallback" class="admonition warning">
<script>$('#fallback').hide();</script>
<p>
Please activate JavaScript to enable the search
functionality.
</p>
</div>
<p>
Searching for multiple words only shows matches that contain
all words.
</p>
<form action="" method="get">
<input type="text" name="q" aria-labelledby="search-documentation" value="" />
<input type="submit" value="search" />
<span id="search-progress" style="padding-left: 10px"></span>
</form>
<div id="search-results">
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">Search</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
Search.setIndex({docnames:["check_internet","data_usage_per_app","index","read_config","screen","webcam","window_activity"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":1,sphinx:56},filenames:["check_internet.rst","data_usage_per_app.rst","index.rst","read_config.rst","screen.rst","webcam.rst","window_activity.rst"],objects:{"Project.system":{check_internet:[0,0,0,"-"],data_usage_per_app:[1,0,0,"-"],read_config:[3,0,0,"-"],screen:[4,0,0,"-"],webcam:[5,0,0,"-"],window_activity:[6,0,0,"-"]},"Project.system.check_internet":{check:[0,1,1,""],connect:[0,1,1,""],myThread5:[0,2,1,""],notify:[0,1,1,""]},"Project.system.check_internet.myThread5":{run:[0,3,1,""]},"Project.system.data_usage_per_app":{myThread3:[1,2,1,""]},"Project.system.data_usage_per_app.myThread3":{run:[1,3,1,""]},"Project.system.read_config":{read_config:[3,1,1,""],write_config:[3,1,1,""]},"Project.system.screen":{myThread1:[4,2,1,""]},"Project.system.screen.myThread1":{run:[4,3,1,""]},"Project.system.webcam":{myThread2:[5,2,1,""]},"Project.system.webcam.myThread2":{run:[5,3,1,""]},"Project.system.window_activity":{currtime:[6,1,1,""],get:[6,1,1,""],myThread4:[6,2,1,""],plot:[6,1,1,""],summarize:[6,1,1,""],time_format:[6,1,1,""]},"Project.system.window_activity.myThread4":{run:[6,3,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"class":[0,1,2,3,4,5,6],"final":6,"function":[0,1,3,4,5,6],"int":6,"new":3,"return":[0,3,4,5,6],"true":0,"while":2,The:[1,2,4,5],abl:2,acheiv:2,activ:[1,6],actual:6,added:2,address:2,after:6,aim:2,along:2,also:2,ani:[1,2],app:2,applic:[2,6],applist:6,arg:1,argument:[0,1,3,6],arrai:4,assign:2,automat:2,avi:[4,5],back:0,bar:6,being:2,benefici:2,bgr:4,blue:4,bombai:2,bool:0,both:2,call:[0,6],callabl:1,cam:2,can:2,captur:[4,5],challeng:2,check:[0,2,6],com:0,come:0,command:6,conduct:2,config:[2,3],connect:[0,2],constructor:1,continuosli:6,control:0,convert:4,correspond:6,cours:3,course_nam:0,covert:6,creat:2,csv:6,cumul:6,current:[4,5],currtim:6,data:2,date:[4,5],deal:2,decod:6,defin:[0,1,3,4,5,6],deliv:2,describ:6,design:2,detail:6,detect:2,devic:4,directori:6,down:0,each:[5,6],eas:2,easili:2,environ:2,evalu:2,everytim:2,exam:2,face:2,fals:0,file:[3,4,5,6],fix:6,folder:[4,5],follow:[0,1,2,3,4,5,6],form:4,format:[4,5,6],frame:5,from:[1,5,6],gener:[2,4,6],get:[3,6],give:2,googl:0,graph:6,green:4,has:2,help:6,here:6,host:0,http:0,iit:2,index:2,initi:6,internet:[0,2],interv:6,invok:1,issu:[0,2],keyword:1,kwarg:1,lectur:2,let:2,like:0,list:[2,6],local:0,loss:2,lost:2,mai:1,manag:2,method:[0,1,3,4,5,6],modul:[0,1,2,3,4,5,6],mythread1:4,mythread2:5,mythread3:1,mythread4:6,mythread5:0,name:[4,5,6],none:6,notif:0,notifi:0,numpi:4,object:1,onlin:2,opencv:[4,5],opportun:2,option:2,other:[0,6],output:[4,5,6],over:6,overrid:1,page:2,pain:2,paramet:[0,3,6],pass:1,per:2,percentag:6,perform:6,period:6,ping:0,plot:6,proctor:0,project:[0,1,2,3,4,5,6],provid:6,pyautogui:4,ran:6,read:[2,3],record:[2,4,5],red:4,remot:2,repeatedli:6,repres:1,resolut:4,respect:[1,6],result:6,rgb:4,rtype:3,run:[0,1,4,5,6],save:[4,5,6],schedul:2,screen:2,screenrecord:4,screenshot:4,search:2,second:6,sequenti:1,set:2,setup:2,sever:2,specifi:4,stamp:2,standard:1,start:[0,2],statist:[2,6],store:[3,6],str:[3,6],string:[3,6],student:2,subclass:1,summar:6,suspici:2,system:[0,1,3,4,5,6],tab:6,take:4,taken:1,target:1,teacher:2,text:6,tformat:6,thi:[0,1,2,3,4,5,6],thread:[0,1],time:[2,4,5,6],time_format:6,timestamp:6,total:6,toward:2,track:[2,6],type:[0,3,6],uninterrupt:2,updat:[3,6],usag:[2,6],used:6,user:[0,2],using:[4,5],utf:6,val1:0,val2:0,valu:6,video:[2,5],webcam:2,webcamrecord:5,well:2,whatev:2,which:[2,6],window:[2,6],winlist:6,within:[0,1,3,4,5,6],without:2,write:[4,5],write_config:3,xdotool:6,you:1},titles:["check_internet Reference","data_usage_per_app Reference","Protracktor - Local Proctoring and Activity Tracker","read_config Reference","screen Reference","webcam Reference","window_activity Reference"],titleterms:{activ:2,check_internet:0,content:2,data_usage_per_app:1,indic:2,local:2,proctor:2,protracktor:2,read_config:3,refer:[0,1,3,4,5,6],screen:4,tabl:2,tracker:2,webcam:5,window_act:6}})
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>webcam Reference &#8212; Protracktor 0.0.1 documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/nature.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/language_data.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="read_config Reference" href="read_config.html" />
<link rel="prev" title="screen Reference" href="screen.html" />
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="read_config.html" title="read_config Reference"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="screen.html" title="screen Reference"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">webcam Reference</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="webcam-reference">
<span id="webcam"></span><h1>webcam Reference<a class="headerlink" href="#webcam-reference" title="Permalink to this headline"></a></h1>
<p>Following are the classes and functions defined within this module:</p>
<span class="target" id="module-Project.system.webcam"></span><dl class="py class">
<dt id="Project.system.webcam.myThread2">
<em class="property">class </em><code class="sig-prename descclassname">Project.system.webcam.</code><code class="sig-name descname">myThread2</code><a class="headerlink" href="#Project.system.webcam.myThread2" title="Permalink to this definition"></a></dt>
<dd><dl class="py method">
<dt id="Project.system.webcam.myThread2.run">
<code class="sig-name descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#Project.system.webcam.myThread2.run" title="Permalink to this definition"></a></dt>
<dd><p>This method captures video from Webcam using OpenCV and writes each frame of the video in an output file.
The file is then saved in WebcamRecordings folder and named by current date and time in .avi format.</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Webcam Recording file</p>
</dd>
</dl>
</dd></dl>
</dd></dl>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="screen.html"
title="previous chapter">screen Reference</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="read_config.html"
title="next chapter">read_config Reference</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/webcam.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="read_config.html" title="read_config Reference"
>next</a> |</li>
<li class="right" >
<a href="screen.html" title="screen Reference"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Protracktor 0.0.1 documentation</a> &#187;</li>
<li class="nav-item nav-item-this"><a href="">webcam Reference</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020, Quad-core.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.3.1.
</div>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment