<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">An Approach to the Intelligent Monitoring of Anomalous Human Behaviour Based on the Actor Prolog Object-Oriented Logic Language</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Alexei</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
							<email>morozov@cplire.ru</email>
							<affiliation key="aff0">
								<orgName type="department">Kotel&apos;nikov Institute of Radio Engineering and Electronics of RAS</orgName>
								<address>
									<addrLine>Mokhovaya 11</addrLine>
									<settlement>Moscow</settlement>
									<country key="RU">Russia</country>
								</address>
							</affiliation>
							<affiliation key="aff1">
								<orgName type="institution">Moscow State University of Psychology &amp; Education</orgName>
								<address>
									<addrLine>Sretenka 29</addrLine>
									<settlement>Moscow</settlement>
									<country key="RU">Russia</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Alexander</forename><forename type="middle">F</forename><surname>Polupanov</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Kotel&apos;nikov Institute of Radio Engineering and Electronics of RAS</orgName>
								<address>
									<addrLine>Mokhovaya 11</addrLine>
									<settlement>Moscow</settlement>
									<country key="RU">Russia</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Olga</forename><forename type="middle">S</forename><surname>Sushkova</surname></persName>
							<email>o.sushkova@mail.ru</email>
							<affiliation key="aff0">
								<orgName type="department">Kotel&apos;nikov Institute of Radio Engineering and Electronics of RAS</orgName>
								<address>
									<addrLine>Mokhovaya 11</addrLine>
									<settlement>Moscow</settlement>
									<country key="RU">Russia</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">An Approach to the Intelligent Monitoring of Anomalous Human Behaviour Based on the Actor Prolog Object-Oriented Logic Language</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">C0C3F19014F37EE086BAAE8D1B6B54F8</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T07:19+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>A method for the monitoring of anomalous human behaviour that is based on the logical description of complex human behaviour patterns and special kinds of blob (a separated area of a foreground image) motion statistical metrics is developed. The concurrent object-oriented logic language is used for the analysis of graphs of tracks of moving blobs; the graphs are supplied by low-level analysis algorithms implemented in a special built-in class of Actor Prolog. The blob motion statistics is collected by the low-level analysis procedures that are of the need for the discrimination of running people, people riding bicycles, and cars in a video scene. The first-order logic language is used for implementing the fuzzy logical inference based on the blob motion statistics. A research software platform is developed that is based on the Actor Prolog logic language and a state-of-the-art Prolog-to-Java translator for experimenting with the intelligent visual surveillance.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Human activity recognition is a rapidly growing research area with important application domains including security and anti-terrorist issues. Recently logic programming was recognized as a promising approach for dynamic visual scenes analysis (see surveys of logic-based recognition systems in <ref type="bibr" target="#b0">[1,</ref><ref type="bibr" target="#b1">2]</ref>). The idea of the logic programming approach is in usage of logical rules for description and analysis of people activities. Knowledge about object co-ordinates and properties, scene geometry, and human body constraints is encoded in the form of certain rules in a logic programming language and is applied to the output of low-level object / feature detectors.</p><p>The distinctive feature of our approach to the visual surveillance logic programming is in the application of general-purpose concurrent object-oriented logic programming features, but not in the development of a new logical formalism. We use the Actor Prolog object-oriented logic language <ref type="bibr" target="#b2">[3,</ref><ref type="bibr" target="#b3">4,</ref><ref type="bibr" target="#b1">2]</ref> for implementation of concurrent stages of video processing. A state-of-the-art Prolog-to-Java translator is used for efficient implementation of logical inference on video scenes.</p><p>Basic principles of video surveillance logic programming are described in Section 2. Development of the blob motion metrics for discrimination of running people, bicycles, and cars in the video scene is described in Section 3.</p><p>2 Basic principles of video surveillance logic programming Let us consider an example of logical inference on video. The input of a logic program written in Actor Prolog is a standard BEHAVE <ref type="bibr" target="#b4">[5]</ref> sample. The video (see Fig. <ref type="figure" target="#fig_0">1a</ref>) demonstrates a case of a street offence. Two groups of persons meet in the scope of the video camera, then one group attacks another one, they fight, then people run away.</p><p>We will solve the problem of anomalous human activity recognition using a logic program that describes a given scenario of complex people behaviour. The input data for the logic program will be supplied by low-level algorithms that trace objects in a video scene and estimate average speed in different segments of the trajectories <ref type="bibr" target="#b3">[4,</ref><ref type="bibr" target="#b1">2]</ref>. This low-level processing is implemented in Java (not in Prolog) and includes extraction of foreground blobs, tracking of the blobs over time, detection of interactions between the blobs, creation of connected graphs of linked tracks of the blobs, and estimation of average speed of the blobs in separate segments of the tracks (see Fig. <ref type="figure" target="#fig_2">2a</ref>). The input data include a special set of blob motion metrics to discriminate running pedestrians, bicycles, and cars during the logical inference.</p><p>The logic program checks the graph of tracks and looks for the following pattern of interaction among several persons: "If two or more persons meet somewhere in the scene and one of them runs after the end of the meeting, the program should consider this scenario as a kind of a running away and a probable case of a sudden attack or a theft." Thus, the program has to alarm if this kind of sub-graph is detected in the total connected graph of tracks. In this  case, the program marks all persons in the inspected graph by yellow rectangles and outputs a warning in the middle of the screen (see Fig. <ref type="figure" target="#fig_0">1b</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Development of the blob motion metrics</head><p>In contrast to the previously developed motion analysis methods of pedestrian detection that consider the periodicity and cyclic motion in the way humans movement <ref type="bibr" target="#b5">[6]</ref>, we have developed a set of blob motion statistical metrics based on the windowed coefficient of determination of the temporal changes of the length of the contour of the blob <ref type="bibr" target="#b6">[7]</ref>.</p><p>The coefficient of determination R 2 <ref type="bibr" target="#b7">[8]</ref> indicates the proportionate amount of variation in the given response variable Y explained by the independent variable X in a linear regression model. In the general case, vehicles will be characterised by bigger values of the R 2 metrics than running persons, because the contour of the running person changes permanently in the course of his motion when he waves his arms and moves his legs (see Fig. <ref type="figure" target="#fig_2">2b</ref>).</p><p>We use a windowed modification of the R 2 metrics, that is, the trajectory of a moving blob is characterised by a set of instantaneous values of the R 2 metrics computed in each point of the trajectory. Specifically, two statistical metrics that characterise the motion of the blob, namely, the mean of the wR 2 distribution and the bias-corrected skewness of the wR 2 distribution are used.</p><p>The properties of the mean(wR 2 ) and the skewness(wR 2 ) metrics can be illustrated by the example of the BEHAVE data set <ref type="bibr" target="#b4">[5]</ref>. For that, we have computed the tracks of moving blobs in this data set by the blob extraction methods implemented in Actor Prolog <ref type="bibr" target="#b3">[4,</ref><ref type="bibr" target="#b1">2]</ref>. The "speed-mean(wR 2 )" and the "speedskewness(wR 2 )" diagrams show clearly that these metrics allow discriminating fast moving persons and vehicles (Fig. <ref type="figure" target="#fig_4">3</ref>). We have implemented the metrics in the Vision standard package of the Actor Prolog language and use them for experimenting with the intelligent visual surveillance.  We have incorporated elements of fuzzy logical inference based on the blob motion statistics into the logic language by means of standard arithmetic means of the language. For example, the is a f ast object predicate for recognition of fast objects may take into account simultaneously two characteristics of blobs; namely, the average velocity of a blob and the length of a track. Combination of these two characteristics is performed by very simple fuzzy metrics described in terms of arithmetic functions. From the standpoint of the declarative semantics of the language, the procedure is a standard formula of the first-order predicate logic. Please see a detailed example of a logic program in <ref type="bibr" target="#b6">[7]</ref>.</p><p>We use a compilation from the Actor Prolog language to Java <ref type="bibr" target="#b1">[2]</ref> to ensure necessary performance of logical inference as well as reliability, portability, and openness of the software, including the possibility of access to open source code libraries. At present, we can demonstrate that the Actor Prolog system is fast enough for real-time analyzing clips of the standard data set <ref type="bibr" target="#b4">[5]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Conclusions</head><p>We have developed a research software platform based on the Actor Prolog concurrent object-oriented logic language and a state-of-the-art Prolog-to-Java translator for studying the intelligent visual surveillance. The platform includes the Actor Prolog logic programming system and an open source Java library of Actor Prolog built-in classes <ref type="bibr" target="#b8">[9]</ref>. It is intended to facilitate the study of the intelligent monitoring of anomalous people activities, the logical description and analysis of people behaviour (see Web Site <ref type="bibr" target="#b9">[10]</ref>). Special blob motion statistical metrics based on the windowed coefficient of determination wR 2 were developed. The blob motion statistics are collected by the low-level analysis procedures that are implemented in a specialised builtin class of the Actor Prolog system. Our studies have demonstrated that this approach is a prospective one for description and analysis of complex people behaviour, and is useful in recognition of anomalous people activities.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Fig. 1 .</head><label>1</label><figDesc>Fig. 1. (a) An example of BEHAVE [5] video with a case of a street offence: one group attacks another. (b) The logical inference has found a possible case of a street offence in the graph of blob trajectories. All probable participants of the conflict are marked by yellow rectangles. The tracks are designated by lines.</figDesc><graphic coords="2,184.68,242.84,101.10,101.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Fig. 2 .</head><label>2</label><figDesc>Fig. 2. (a) The low-level processing of the video. Blobs are designated by cyan rectangles; multicoloured lines denote tracks of the blobs. The program estimates the velocity of the blobs and designates it by different colours. Straight blue lines designate possible links between the blobs. (b) The wR 2 metrics is computed on the basis of temporal changes of the length of the contour of the blob.</figDesc><graphic coords="3,184.61,116.27,101.26,101.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Fig. 3 .</head><label>3</label><figDesc>Fig. 3. (a) The values of the mean(wR 2 ) metrics of the blobs. The x co-ordinate is the speed of the object; the y co-ordinate is the mean(wR 2 ) metrics value. (b) The values of the skewness(wR 2 ) metrics of the blobs. The x co-ordinate is the speed of the object; the y co-ordinate is the skewness(wR 2 ) metrics value. In both figures, pedestrians are designated by circles: small blue circles denote single walking persons; big cyan circles denote groups of walking persons; small red circles denote single running persons; big orange circles denote groups of running persons. Vehicles are designated by diamonds: small magenta diamonds denote bicycles and big yellow diamonds denote cars.</figDesc></figure>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgements</head><p>Authors are grateful to Abhishek Vaish, Vyacheslav E. Antciperov, Vladimir V. Deviatkov, Aleksandr N. Alfimtsev, Vladislav S. Popov, and Igor I. Lychkov for co-operation.</p><p>We acknowledge a partial financial support from the Russian Foundation for Basic Research, grant No 13-07-92694.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">A probabilistic logic programming event calculus</title>
		<author>
			<persName><forename type="first">A</forename><surname>Skarlatidis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Artikis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Filippou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Paliouras</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Theory and Practice of Logic Programming</title>
				<imprint>
			<date type="published" when="2014">2014</date>
			<biblScope unit="page" from="1" to="33" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<title level="m" type="main">Intelligent visual surveillance logic programming: Implementation issues</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">F</forename><surname>Polupanov</surname></persName>
		</author>
		<editor>Ströder, T., Swift, T.</editor>
		<imprint>
			<date type="published" when="2014">2014. 2014</date>
			<publisher>CICLOPS-WLPE</publisher>
			<biblScope unit="page" from="31" to="45" />
		</imprint>
		<respStmt>
			<orgName>Aachener Informatik Berichte, RWTH Aachen University</orgName>
		</respStmt>
	</monogr>
	<note type="report_type">Number AIB-2014-09</note>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Actor Prolog: an object-oriented language with the classical declarative semantics</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IDL 1999</title>
				<editor>
			<persName><forename type="first">K</forename><surname>Sagonas</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">P</forename><surname>Tarau</surname></persName>
		</editor>
		<meeting><address><addrLine>Paris, France</addrLine></address></meeting>
		<imprint>
			<date type="published" when="1999">1999</date>
			<biblScope unit="page" from="39" to="53" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Development of concurrent object-oriented logic programming system to intelligent monitoring of anomalous human activities</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Vaish</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">F</forename><surname>Polupanov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">E</forename><surname>Antciperov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">I</forename><surname>Lychkov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">N</forename><surname>Alfimtsev</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">V</forename><surname>Deviatkov</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">BIODEVICES 2014</title>
				<editor>
			<persName><forename type="first">A</forename><forename type="middle">C</forename><surname>Jr</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">G</forename><surname>Plantier</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">T</forename><surname>Schultz</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Fred</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">H</forename><surname>Gamboa</surname></persName>
		</editor>
		<imprint>
			<publisher>SCITEPRESS</publisher>
			<date type="published" when="2014">2014</date>
			<biblScope unit="page" from="53" to="62" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<title level="m" type="main">BEHAVE: Computer-assisted prescreening of video streams for unusual activities</title>
		<author>
			<persName><forename type="first">R</forename><surname>Fisher</surname></persName>
		</author>
		<idno>GR/S98146</idno>
		<ptr target="http://groups.inf.ed.ac.uk/vision/BEHAVEDATA/INTERACTIONS/" />
		<imprint>
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
	<note type="report_type">The EPSRC project</note>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Pedestrian detection based on blob motion statistics</title>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">V K</forename><surname>Borges</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">IEEE Trans. Circuits Syst. Video Techn</title>
		<imprint>
			<biblScope unit="page" from="224" to="235" />
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<monogr>
		<title level="m" type="main">Development of the logic programming approach to the intelligent monitoring of anomalous human behaviour</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">F</forename><surname>Polupanov</surname></persName>
		</author>
		<editor>Paulus, D., Fuchs, C., Droege, D.</editor>
		<imprint>
			<date type="published" when="2015">2015</date>
			<publisher>University of Koblenz-Landau</publisher>
			<biblScope unit="page" from="82" to="85" />
			<pubPlace>OGRW2014, Koblenz</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<monogr>
		<title level="m" type="main">Applied Regression Analysis</title>
		<author>
			<persName><forename type="first">N</forename><surname>Draper</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><surname>Smith</surname></persName>
		</author>
		<imprint>
			<date type="published" when="1998">1998</date>
			<publisher>Wiley-Interscience</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<monogr>
		<title level="m" type="main">A GitHub repository containing source codes of Actor Prolog built-in classes</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
		</author>
		<ptr target="https://github.com/Morozov2012/actor-prolog-java-library" />
		<imprint>
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<monogr>
		<title level="m" type="main">The intelligent visual surveillance logic programming Web Site</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">A</forename><surname>Morozov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><forename type="middle">S</forename><surname>Sushkova</surname></persName>
		</author>
		<ptr target="http://www.fullvision.ru/actorprolog/(2014" />
		<imprint/>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
