A Logic-Based Approach to Activity Recognition

A Logic-Based Approach to Activity Recognition

Alexander Artikis (NCSR Demokritos, Greece), Marek Sergot (Imperial College, UK) and Georgios Paliouras (NSCR Demokritos, Greece)
DOI: 10.4018/978-1-4666-3682-8.ch001
OnDemand PDF Download:
List Price: $37.50


The authors have been developing a system for recognising human activities given a symbolic representation of video content. The input of the system is a stream of time-stamped short-term activities detected on video frames. The output of the system is a set of recognised long-term activities, which are pre-defined spatio-temporal combinations of short-term activities. The constraints on the short-term activities that, if satisfied, lead to the recognition of a long-term activity, are expressed using a dialect of the Event Calculus. The authors illustrate the expressiveness of the dialect by showing the representation of several typical complex activities. Furthermore, they present a detailed evaluation of the system through experimentation on a benchmark dataset of surveillance videos.
Chapter Preview

2. The Event Calculus

Our Long-Term Activity Recognition (LTAR) system consists of a logic programming (Prolog) implementation of an Event Calculus dialect. The Event Calculus, introduced by Kowalski and Sergot (1986), is a many-sorted, first-order predicate calculus for representing and reasoning about events and their effects. For the dialect used here, hereafter LTAR-EC (event calculus for long-term activity recognition), the time model is linear and it may include real numbers or integers. Where F is a fluent – a property that is allowed to have different values at different points in time - the term F = V denotes that fluent F has value V. Boolean fluents are a special case in which the possible values are true and false. Informally, F = V holds at a particular time-point if F = V has been initiated by an event at some earlier time-point, and not terminated by another event in the meantime.

An event description in LTAR-EC includes axioms that define, among other things, the event occurrences (with the use of the happensAt and happensFor predicates), the effects of events (with the use of the initiatedAt and terminatedAt predicates), and the values of the fluents (with the use of the initially, holdsAt and holdsFor predicates). Table 1 summarises the main predicates of LTAR-EC. Variables, starting with an upper-case letter, are assumed to be universally quantified unless otherwise indicated. Predicates, function symbols and constants start with a lower-case letter.

Complete Chapter List

Search this Book: