Page 1 of 1
Zones
Posted: Sun Sep 24, 2006 7:18 pm
by Simon
when creating a zone is it better to minimize the number of points used? does it have any impact on performance?
thankyou
Posted: Wed Sep 27, 2006 11:21 am
by zoneminder
In general yes and no. Though in practice the difference is likely to be negligible as the polygons are resolved to (effectively) bitmaps on startup so it make take a fraction longer to get running but no slower in normal operation. The exception to this is where you have a complex zone which encloses non-zone space. This will take a longer to run and should be split into two or more parts.
For example
Code: Select all
.....*****......
...*******......
..***********...
..**************
..******........
is ok, but
Code: Select all
.....*****......
...***.***......
..***..******...
..**.....********
..**............
should be split into a left and right zone, for optimum performance, though it will work as is.
Posted: Wed Sep 27, 2006 7:07 pm
by jameswilson
Phil just a suggestion as i didnt know this and have some quite complicated shapes now!!! lol, can someone who knows how zones work do a quick guidlines sheet? just a thought
Posted: Thu Sep 28, 2006 4:19 pm
by zoneminder
It's not the end of the world having zones this shape but it will iterate across the contained empty areas even if it won't actually check them.
I do plan to remove this issue in the future but it's not high priority and only really affects things if a horizontal slice contains empty areas, verttical slices aren't a problem at all.
Posted: Fri Sep 29, 2006 6:03 am
by Flash_
Don't you just hate it when you've got the zones all set up and just /perfect/ then somebody comes along and nudges the camera?
Multi point poly
Posted: Fri Dec 08, 2006 7:49 pm
by liderbugzm
This post comes the closest, then not quite. My question is can I change the number of points for a zone poly? From 4 to 6? Haven't found a config to do it. Would it cause problems? Or does one just make 3 or 4 polys? IE. One of my cams has a windsock that I would like to exclude. Hmmm, nother question - would it be possible to make a not-zone. Do a All-zone and a windsock exclude zone?
Thanks
Posted: Fri Dec 08, 2006 9:44 pm
by cordel