From fec245cbb9121efd6b8bb7cd8a40ff749dc2ef2b Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 2 Dec 2005 10:14:26 +0000 Subject: [PATCH] Bug 207 - Added weighted alarm centring config and moved shm key. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1646 e3e1d417-86f3-4887-817a-d78f3d33393f --- zmconfig.pl.in | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/zmconfig.pl.in b/zmconfig.pl.in index e7e675d7d..a2dea8dd1 100755 --- a/zmconfig.pl.in +++ b/zmconfig.pl.in @@ -1050,6 +1050,14 @@ my @options = type => $types{boolean}, category => 'config', }, + { + name => "ZM_WEIGHTED_ALARM_CENTRES", + default => "no", + description => "Whether to use a weighted algorithm to calculate the centre of an alarm", + help => "ZoneMinder will always calculate the centre point of an alarm in a zone to give some indication of where on the screen it is. This can be used by the experimental motion tracking feature or your own custom extensions. In the alarmed or filtered pixels mode this is a simple midpoint between the extents of the detected pxiesl. However in the blob method this can instead be calculated using weighted pixel locations to give more accurate positioning for irregularly shaped blobs. This method, while more precise is also slower and so is turned off by default.", + type => $types{boolean}, + category => 'config', + }, { name => "ZM_EVENT_IMAGE_DIGITS", default => "3", @@ -1058,14 +1066,6 @@ my @options = type => $types{integer}, category => 'config', }, - { - name => "ZM_SHM_KEY", - default => "0x7a6d2000", - description => "Shared memory key to use, only change if it clashes with another application", - help => "ZoneMinder uses shared memory to speed up communication between modules. To identify the right area to use shared memory keys are used. This option controls what the base key is, each monitor will have it's Id or'ed with this to get the actual key used.", - type => $types{hexadecimal}, - category => 'config', - }, { name => "ZM_OPT_FRAME_SERVER", default => "no", @@ -1124,6 +1124,14 @@ my @options = type => $types{boolean}, category => 'system', }, + { + name => "ZM_SHM_KEY", + default => "0x7a6d2000", + description => "Shared memory key to use, only change if it clashes with another application", + help => "ZoneMinder uses shared memory to speed up communication between modules. To identify the right area to use shared memory keys are used. This option controls what the base key is, each monitor will have it's Id or'ed with this to get the actual key used.", + type => $types{hexadecimal}, + category => 'system', + }, { name => "ZM_WEB_REFRESH_METHOD", default => "javascript",