Tutorial Zoneminder with platerecognition

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

Tutorial Zoneminder with platerecognition

Post by biologisch » Wed Feb 26, 2020 10:56 am

Here is a new tutorial for a fast installation of zoneminder with platerecognition
https://zoneminder.miraheze.org
ZM Versions = 1.35.2 (multiple Server)
zmeventnotification Version = 5.13.3
https://zoneminder.miraheze.org

rockedge
Posts: 1144
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Tutorial Zoneminder with platerecognition

Post by rockedge » Wed Feb 26, 2020 2:40 pm

very cool...

User avatar
asker
Posts: 1261
Joined: Sun Mar 01, 2015 12:12 pm

Re: Tutorial Zoneminder with platerecognition

Post by asker » Thu Feb 27, 2020 2:04 am

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.
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
biologisch
Posts: 72
Joined: Fri Aug 24, 2007 10:37 am

Re: Tutorial Zoneminder with platerecognition

Post by biologisch » Thu Feb 27, 2020 10:15 am

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.35.2 (multiple Server)
zmeventnotification Version = 5.13.3
https://zoneminder.miraheze.org

bbunge
Posts: 2660
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Tutorial Zoneminder with platerecognition

Post by bbunge » Thu Feb 27, 2020 11:55 pm

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: 72
Joined: Fri Aug 24, 2007 10:37 am

Re: Tutorial Zoneminder with platerecognition

Post by biologisch » Fri Feb 28, 2020 9:17 am

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.35.2 (multiple Server)
zmeventnotification Version = 5.13.3
https://zoneminder.miraheze.org

Magic919
Posts: 58
Joined: Wed Sep 18, 2013 6:56 am

Re: Tutorial Zoneminder with platerecognition

Post by Magic919 » Tue Apr 07, 2020 8:32 am

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

Post Reply

Who is online

Users browsing this forum: Google [Bot], MyCameras and 2 guests