CameraTech by Albo1125
CameraTech is a resource for FiveM by Albo1125 that provides for an in-depth Automatic Number Plate Recognition (ANPR/ALPR) system simulation. Please view the installation and showcasing video.
Video
Installation & Usage
- Download the latest release.
- Unzip the CameraTech folder into your resources folder on your FiveM server.
- Add the following to your server.cfg file:
start CameraTech
- Add (police) vehicle models that are equipped with ANPR to
anprvehicles.txt
, each new model should be on a new line. - Optionally, enable the ANPR whitelist in
vars.lua
and add identifiers. This only affects commands for use of police. - Optionally, add or remove fixed ANPR cameras on the map in
fixedanprcameras.json
, following the format of the provided file. - Optionally, in
sv_CameraTech.lua
, uncomment lines 10 to 12 and in_resource.lua
uncomment line 12. This will make the script insert a new row into a MySQL database whenever a fixed ANPR hit comes in (e.g. for web-based control purposes).
Commands
A list of all the commands can be found here
Source Code & Improvements
The source code is available on GitHub under a GPL-3.0 licence. Improvements and new feature additions are very welcome, please feel free to open an issue, or better yet, create a pull request. As a guideline, please do not release separate versions with minor modifications, but contribute to this repository directly. However, if you really do wish to release modified versions of my work, permission & proper credit is always required and you should always link back to this original source and respect the licence.
Changelog
1.3.1
Fixed issue for users without mysql async
1.3.0
Initial public release.
Enjoy.