Commit Graph

107 Commits

Author SHA1 Message Date
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
David Nesting
b368d306b9 Fix marker-out-of-bounds crash when defining zone points 2013-11-02 15:56:42 -07:00
mastertheknife
aef9ab2f00 Removed NumCoords entirely from zm_zone.cpp 2013-09-24 07:41:37 +03:00
mastertheknife
ac7f7f08a7 Fix some compilation warnings 2013-09-24 07:31:02 +03:00
Isaac Connor
cdac403fb1 Merge ../zum into develop
Conflicts:
	AUTHORS
	configure.ac
	db/zm_create.sql.in
	scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
	scripts/zmupdate.pl.in
	src/Makefile.am
	src/zm_buffer.cpp
	src/zm_config_defines.h
	src/zm_event.cpp
	src/zm_ffmpeg.h
	src/zm_ffmpeg_camera.cpp
	src/zm_image.cpp
	src/zm_jpeg.h
	src/zm_local_camera.cpp
	src/zm_logger.cpp
	src/zm_mem_utils.h
	src/zm_monitor.cpp
	src/zm_monitor.h
	src/zm_mpeg.cpp
	src/zm_remote_camera_http.cpp
	src/zm_remote_camera_rtsp.cpp
	src/zm_rtsp.cpp
	src/zm_sdp.cpp
	src/zm_sdp.h
	src/zm_stream.cpp
	src/zm_thread.cpp
	src/zm_thread.h
	src/zm_threaddata.cpp
	src/zm_user.cpp
	src/zm_user.h
	src/zm_utils.cpp
	src/zm_zone.cpp
	src/zm_zone.h
	web/includes/actions.php
	web/lang/big5_big5.php
	web/lang/cn_zh.php
	web/lang/cs_cz.php
	web/lang/de_de.php
	web/lang/dk_dk.php
	web/lang/en_gb.php
	web/lang/es_ar.php
	web/lang/et_ee.php
	web/lang/fr_fr.php
	web/lang/he_il.php
	web/lang/hu_hu.php
	web/lang/it_it.php
	web/lang/ja_jp.php
	web/lang/nl_nl.php
	web/lang/pl_pl.php
	web/lang/pt_br.php
	web/lang/ro_ro.php
	web/lang/ru_ru.php
	web/lang/se_se.php
	web/skins/classic/js/skin.js
	web/skins/classic/views/js/monitor.js.php
	web/skins/classic/views/monitor.php
	web/skins/classic/views/zone.php
2013-07-25 11:49:55 -04:00
nextime
33cbd89212 Migrate svn to git 2013-03-17 00:45:21 +01:00
Kfir Itzhak
e413042cdb Fixed a longtime bug in my version that caused distorted analysis images in some setups. 2012-04-01 13:03:18 +03:00
Kfir Itzhak
8e9ccfe1ec Removed the now unused SSE2 AlarmedPixels code. 2012-02-01 07:33:21 +02:00
Kfir Itzhak
d7e9c6ad5c Analysis image finally working! 2012-02-01 07:33:21 +02:00
Kfir Itzhak
e217e99562 1) Fixed wrong alarm colour in analysis images.
2) Added GCC's target attribute to remove the need for -msse2.
2012-02-01 07:33:21 +02:00