Page 1 of 1
Tutorial Zoneminder with platerecognition
Posted: Wed Feb 26, 2020 10:56 am
by biologisch
Here is a new tutorial for a fast installation of zoneminder with platerecognition
https://zoneminder.miraheze.org
Re: Tutorial Zoneminder with platerecognition
Posted: Wed Feb 26, 2020 2:40 pm
by rockedge
very cool...
Re: Tutorial Zoneminder with platerecognition
Posted: Thu Feb 27, 2020 2:04 am
by asker
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.
Re: Tutorial Zoneminder with platerecognition
Posted: Thu Feb 27, 2020 10:15 am
by biologisch
Thanks for your support.
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 ?
Re: Tutorial Zoneminder with platerecognition
Posted: Thu Feb 27, 2020 11:55 pm
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
Re: Tutorial Zoneminder with platerecognition
Posted: Fri Feb 28, 2020 9:17 am
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!
Re: Tutorial Zoneminder with platerecognition
Posted: Tue Apr 07, 2020 8:32 am
by Magic919
Thanks for the useful tutorial. Being able to restrict ANPR to just the road area was helpful.