Tutorial Zoneminder with platerecognition

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
User avatar
biologisch
Posts: 96
Joined: Fri Aug 24, 2007 10:37 am

Tutorial Zoneminder with platerecognition

Post by biologisch »

Here is a new tutorial for a fast installation of zoneminder with platerecognition
https://zoneminder.miraheze.org
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Tutorial Zoneminder with platerecognition

Post by rockedge »

very cool...
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Tutorial Zoneminder with platerecognition

Post by asker »

biologisch wrote: Wed Feb 26, 2020 10:56 am Here is a new tutorial for a fast installation of zoneminder with platerecognition
https://zoneminder.miraheze.org
Thanks for the exhaustive tutorial!

Two notes:

1. You only need to install the contrib package of OpenCV. It includes base OpenCV.
2. If you use 127.0.0.1 for your picture url it will not show on phones.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
User avatar
biologisch
Posts: 96
Joined: Fri Aug 24, 2007 10:37 am

Re: Tutorial Zoneminder with platerecognition

Post by biologisch »

Thanks for your support. :D
1. You only need to install the contrib package of OpenCV. It includes base OpenCV.
fixed - thank you again.
2. If you use 127.0.0.1 for your picture url it will not show on phones.
? Everything works fine - also on phones. Is it better to take http://localhost or the server IP ?
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Tutorial Zoneminder with platerecognition

Post by bbunge »

A couple of corrections to your Zoneminder install procedure...

Your procedure adds the ppa but does not install Zoneminder.

sudo apt-get update is not needed in Bionic as add-apt-repository does this.

apt install zoneminder is needed!

sudo systemctl enable zoneminder.service should be: sudo systemctl enable zoneminder

sudo systemctl start zoneminder.service not needed as the installer starts Zoneminder

sudo a2enmod cgi is not needed as the Zoneminder installer does this.

Set your correct timezone in /etc/php/7.2/apache2/php.ini is not needed as the timezone is now set in Zoneminder Options

sudo chown -R www-data:www-data /usr/share/zoneminder/ DO NOT DO THIS! Security risk and is not needed!!!

See: https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.34.x
User avatar
biologisch
Posts: 96
Joined: Fri Aug 24, 2007 10:37 am

Re: Tutorial Zoneminder with platerecognition

Post by biologisch »

Your procedure adds the ppa but does not install Zoneminder.
Correct! Fixed.
sudo systemctl enable zoneminder.service should be: sudo systemctl enable zoneminder

Code: Select all

systemctl show zoneminder | grep Path
gives

Code: Select all

FragmentPath=/lib/systemd/system/zoneminder.service
back. So both variants are possible.
sudo systemctl start zoneminder.service not needed as the installer starts Zoneminder
Correct! Fixed.
sudo a2enmod cgi is not needed as the Zoneminder installer does this.
Correct! Fixed.
Set your correct timezone in /etc/php/7.2/apache2/php.ini is not needed as the timezone is now set in Zoneminder Options
Correct! Fixed.
sudo chown -R www-data:www-data /usr/share/zoneminder/ DO NOT DO THIS! Security risk and is not needed!!!
Correct! Fixed.

Thank you for taking your time and help me to make the tutorial better.
Are suggestions are very welcome!
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Tutorial Zoneminder with platerecognition

Post by Magic919 »

Thanks for the useful tutorial. Being able to restrict ANPR to just the road area was helpful.
-
Post Reply