Package Details: zmeventnotification 6.1.29-1

Git Clone URL: https://aur.archlinux.org/zmeventnotification.git (read-only, click to copy)
Package Base: zmeventnotification
Description: A machine learning powered, secure websocket & MQTT based event notification server for ZoneMinder
Upstream URL: https://github.com/ZoneMinder/zmeventnotification
Licenses: GPL
Replaces: zmeventnotification-git
Submitter: Nocifer
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 4
Popularity: 0.001319
First Submitted: 2020-07-08 15:07 (UTC)
Last Updated: 2023-11-04 09:46 (UTC)

Required by (1)

Sources (14)

Latest Comments

1 2 Next › Last »

fiatguy85 commented on 2023-04-25 02:38 (UTC) (edited on 2023-04-25 02:40 (UTC) by fiatguy85)

In order to implement with a Coral Edge TPU and the default (after enabling EdgeTPU) objectdetect.ini, I also needed the following weights files:

        'https://github.com/google-coral/edgetpu/raw/master/test_data/ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite'
        'https://github.com/google-coral/test_data/raw/master/ssdlite_mobiledet_coco_qat_postprocess_edgetpu.tflite'

Nocifer commented on 2021-02-14 16:05 (UTC)

@happyrogue

Regarding [2], most of these sound weird to me as well, but they have been previously reported as needed by two separate commenters (see below), so unless someone tests and confirms they're not needed I'll have to keep them in. The exceptions are face_recognition and scikit-learn (which could be remnants of a pre-6.0.0 version) but again, I'd need someone who actively uses zmeventnotification (I don't anymore) to test for this and verify they are OK to remove.

Regarding [3], since it's listed in setup.py, that's also something for upstream to correct if needed.

Regarding [4], it's not listed because as you said it's already being pulled in by shapely, so there's no need to list it here as well.

happyrogue commented on 2021-02-14 15:46 (UTC) (edited on 2021-02-14 15:49 (UTC) by happyrogue)

The dependencies seem a bit outdated, so I went through them.

Perl dependencies:

TODO (by someone else)

Python dependencies:

opencv
Imported by hook/{zm_detect.py,zmes_hook_helpers/image_manip.py}

python-future[1]
Imported by hook/zmes_hook_helpers/utils.py

[1]: Should probably be dropped, but that's something for upstream.

python-gifsicle
Imported by hook/zmes_hook_helpers/image_manip.py

python-imageio
Imported by hook/zmes_hook_helpers/image_manip.py

python-imutils
Imported by hook/zm_detect.py

python-pyzm-git
Imported by hook/{train_faces.py,zm_detect.py,zm_train_faces.py,zmes_hook_helpers/apigw.py,zmes_hook_helpers/log.py} pushapi_plugins/pushapi_pushover.py

python-requests
Imported by hook/{zm_detect.py,zmes_hook_helpers/image_manip.py} pushapi_plugins/pushapi_pushover.py

python-shapely
Imported by hook/zmes_hook_helpers/image_manip.py

python-face_recognition[2]
python-imageio-ffmpeg[3]
python-mysql-connector[2]
python-psutil[2]
python-scikit-learn[2]
python-sqlalchemy[2]
qt5-base[2]

[2]: No references found.
[3]: Not referenced outside of hook/setup.py?

python-numpy[4]
Imported by hook/{zm_detect.py,zmes_hook_helpers/image_manip.py}

[4]: Listed as a dependency of python-shapely but not this package directly. Could someone clarify for me if it should be added?

Of note, the "no references" packages may still be required by pyzm. But that's an issue for a different package maintainer.

Nocifer commented on 2021-01-10 08:27 (UTC)

@lainpants @ultimategrandson Actually both of you correct; the two files were indeed updated and thus needed to have their sha256 sums updated (which was done in the 6.1.6 release) but you also may have to clear your cache (or at least find and delete those two yolov4 specific files) in order for e.g. yay to redownload them instead of trying to use the out-of-date existing files and failing. That's the case for most all packages that use unversioned binary files as their sources.

ultimategrandson commented on 2021-01-10 03:23 (UTC) (edited on 2021-01-10 03:23 (UTC) by ultimategrandson)

@lainpants

I got the same issue but after clearing the package cache (in my case yay -Scc), it worked fine.

lainpants commented on 2021-01-08 17:36 (UTC)

FYI, sha256sums are out of date for yolov4-tiny.cfg and yolov4-tiny.weights:

yolov4-tiny.cfg ... FAILED
yolov4-tiny.weights ... FAILED

Nocifer commented on 2020-10-03 07:46 (UTC)

@Synthead

Regarding the mysql-python-connector, it's already been mentioned in a previous comment and will be added to the dependencies with the next package update, which will happen when upstream releases v6.0.0.

Regarding the service file, zmeventnotification is supposed to be run internally by ZoneMinder and share its attributes (log output, lifecycle, etc). What could a separate service offer as things currently stand? Also, this should probably better be addressed to @pliablepixels, the developer of zmeventnotification, because such a change should be made upstream, not in our package here.

synthead commented on 2020-10-02 17:56 (UTC)

How about adding this to /usr/lib/systemd/system/zmeventnotification.service? :)

[Unit]
Description=ZoneMinder event notification server 
After=zoneminder.service

[Service]
User=http
Type=simple
ExecStart=/usr/bin/zmeventnotification.pl

[Install]
WantedBy=multi-user.target

synthead commented on 2020-10-02 05:07 (UTC)

Getting the exception below. Fixed by installing mysql-python-connector. Please add this to the depends array :)

Traceback (most recent call last):
  File "/var/lib/zmeventnotification/bin/zm_detect.py", line 165, in <module>
    log.init(process_name='zmesdetect_' + 'm' + args.get('monitorid'), override=g.config['pyzm_overrides'])
  File "/usr/lib/python3.8/site-packages/zmes_hook_helpers/log.py", line 46, in init
    g.logger = wrapperLogger(name=process_name, override=override, dump_console=dump_console)
  File "/usr/lib/python3.8/site-packages/zmes_hook_helpers/log.py", line 10, in __init__
    zmlog.init(name=name, override=override)
  File "/usr/lib/python3.8/site-packages/pyzm/ZMLog.py", line 152, in init
    engine = create_engine(cstr, pool_recycle=3600)
  File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/__init__.py", line 500, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File "/usr/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 135, in dbapi
    from mysql import connector
ModuleNotFoundError: No module named 'mysql'

Nocifer commented on 2020-09-15 09:56 (UTC)

@hillbicks alright, even though they sound a bit weird to me (I mean, Qt5?) I do know that these 4 packages are listed as dependencies in the PKGBUILD of zmeventnotification-git, but I didn't include them in mine because I couldn't find any reference about them in the upstream documentation. I'll make sure to add them for the next release (which shouldn't be too far away, v6.0.0 is already cooking upstream).