Isaac Connor
795e98a09c
Merge pull request #2916 from connortechnology/zone_optimise
...
Improve code in zm_zone
2020-09-22 17:48:24 -04:00
Peter Keresztes Schmidt
8f980a1168
Convert NULL/0 to nullptr
...
The 0 -> nullptr changes should definitely improve readability.
2020-08-26 22:03:40 +02:00
Andrew Bauer
e5e2c3b347
fix stats off by 1 frame, don't alert on score 0
2020-08-24 10:57:54 -05:00
Isaac Connor
f635afe00f
spacing
2020-07-22 17:30:39 -04:00
Isaac Connor
d716d1d686
Merge branch 'release-1.34'
2020-07-20 16:25:41 -04:00
Isaac Connor
01892352da
rename sseversion to sse_version
2020-07-19 17:50:47 -04:00
Andrew Bauer
dcab218a2e
remove global config item CREATE_ANALYSIS_IMAGES
2020-07-06 12:22:41 -05:00
Isaac Connor
ae9a5766f5
Merge branch 'release-1.34' into fix_zms
2020-04-26 18:19:30 -04:00
Isaac Connor
37c829f2bf
cleanup code a bit. Move BlobStats to the Zone Object so that it isn't constantly being allocated/freed from the heap. Improve ParsePolygon.
2020-04-20 11:19:33 -04:00
Isaac Connor
9713d908fb
Spacing, google code style and tabs to spaces
2019-06-24 10:28:11 -04:00
Mitch Capper
eb005e8b9c
FIFO support for zoneminder zone debugging ( #2594 )
...
Adds fifo options for diagnostic images for much lower impact diagnostics mode. Diagnostic images are only written when there is a client listening for them (otherwise they are skipped). Also added a json stream for the detection data so you can see in real time the pixels or blobs detected for the motion. This allows for easy real time stream of both delta and reference images (as video streams) along with the detection numbers.
2019-05-16 15:37:03 -04:00
Isaac Connor
d296d59625
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2018-08-22 16:34:29 -04:00
vajonam
d97eea886a
fix scoring algorithim, to use max_alarm_size when specified instead of the size of the zone. ( #2186 )
2018-08-22 12:58:26 -04:00
Isaac Connor
90eda0b88b
spacing, remove extra parenthesis
2018-08-22 11:14:00 -04:00
Isaac Connor
8450d532b4
Add STDC_FORMAT_MACROS and include cinttypes so that PRIu64 works on centos7
2018-06-14 12:24:58 -04:00
Isaac Connor
fb9a12ddba
add locking around loading Zone
2018-05-01 12:19:34 -04:00
Isaac Connor
18b015903a
cleanup. Google Code Style. Move diag_path from a static to a class member so that multiple zones will create different diag files.
2018-04-23 14:36:46 -04:00
Isaac Connor
4be64152e8
put mutex around inserting event stats
2018-03-28 09:12:38 -04:00
Isaac Connor
64816aa005
fixes from cppcheck.
2017-11-18 16:00:10 -05:00
Isaac Connor
ecd86b3fde
cleanup
2017-11-12 15:18:39 -05:00
Isaac Connor
38a4ca1a6f
use storageareas when outputting zone diag images
2017-09-26 09:33:33 -04:00
Isaac Connor
9f93bfc23b
use Monitor Id in path to diag images instead of monitor name as the name is a convenience link and not guaranteed to exist
2017-09-25 18:45:58 -04:00
Isaac Connor
84be41998a
make debug lines more informative
2017-09-25 16:23:27 -04:00
Isaac Connor
259b7f7655
fix memleak
2017-07-31 15:49:27 -04:00
Isaac Connor
b886a2daa2
Merge branch 'master' into storageareas
2017-06-14 11:25:02 -04:00
Isaac Connor
a4b3f6b41a
fix form of delete used
2017-06-14 10:54:21 -04:00
Isaac Connor
085d239a6e
Merge branch 'master' into storageareas
2017-06-13 18:02:28 -04:00
Andrew Bauer
bacf65ae9a
Migrate values from Options -> Paths to zm.conf ( #1908 )
...
* initial commit to migrate contents of Options->Paths to zm.conf
* remove paths items from configdata.pm
* remove paths tab from options
* update deb packaging scripts with new cmake vars
* remove extraneous file
* save custom paths variables to config file before dB is freshened
* don't check configs if the dB version is >= 1.31.0
2017-06-12 21:39:37 -04:00
Isaac Connor
3bfac9faff
Merge branch 'master' into storageareas
2017-06-09 13:00:24 -04:00
Isaac Connor
90517ed0aa
Merge branch 'master' into add_was_alarmed
2017-05-25 14:01:27 -04:00
Isaac Connor
a515041e14
Merge branch 'master' into storageareas
2017-05-23 15:17:46 -04:00
Isaac Connor
5c673d5659
google style
2017-05-23 15:07:50 -04:00
Isaac Connor
0da03ca5e8
braces/whitespace
2017-05-20 09:41:13 -04:00
Isaac Connor
654282d82e
fix merge
2017-03-17 09:41:04 -04:00
Isaac Connor
d9c665b021
Merge branch 'fix_crash_with_invalid_zones' into storageareas
2017-03-17 09:35:11 -04:00
Isaac Connor
6a447194eb
Fix zmc crashing when zones are no good bby decreasing n_zone before continuing
2017-03-16 10:55:13 -04:00
Isaac Connor
5ae34a7561
Merge branch 'master' into storageareas
2017-01-02 09:39:10 -05:00
Andy Bauer
254fcbcef7
update gpl 2 mailing address in source files
2016-12-26 09:23:16 -06:00
Isaac Connor
a5b7b6e74f
move the input packet into a member of the camera. Fix packet copying in packetqueue. Implement separate start pts and dts for audio and video
2016-09-22 10:43:20 -04:00
Isaac Connor
15569d4f33
whitespace, commenting, cleanup some Type castings, init zones[i] to null, because it might not get assigned a Zone object.
2016-09-09 10:07:13 -04:00
Isaac Connor
45fadaf297
Use Monitor Id instead of Name when writing diag images. The name symlink might not exist
2016-07-26 13:08:32 -04:00
Isaac Connor
e64376ed02
increase debug level for Zone motion detection
2016-05-05 14:51:41 -04:00
Isaac Connor
03b1ced568
tabs to spaces and use 2space indenting
2016-04-04 10:11:48 -04:00
Isaac Connor
7588f6088f
change method from getPath to Path
2015-12-15 13:27:18 -05:00
Isaac Connor
010d7b3d64
convert to using storage->getPath instaed of config.events_dir
2015-12-15 11:11:34 -05:00
Robin Daermann
5b465194f8
Renamed 'Blacken' zone type to 'Privacy'
2015-08-20 17:37:59 +02:00
Robin Daermann
8f9ed96585
First try to implement blacken areas for monitors
2015-08-20 14:20:41 +02:00
Isaac Connor
2c1a02ade6
Add was_alarmed property and WasAlarmed method to Zone
2015-02-18 16:34:35 -05:00
Isaac Connor
c6d19b3ecf
whitespace issue
2014-08-21 11:14:38 -04:00
m-bene
26777487dc
add feature to extend preclusive zone alarm state by x frames
2014-03-09 17:05:39 +01:00