GithubHelp home page GithubHelp logo

chandanroksjsr / cameratech Goto Github PK

View Code? Open in Web Editor NEW

This project forked from albo1125/cameratech

0.0 1.0 0.0 37 KB

ANPR Camera Technology script for FiveM

License: GNU General Public License v3.0

C# 86.46% Lua 13.54%

cameratech's Introduction

CameraTech

CameraTech is a resource for FiveM by Albo1125 that provides for an indepth Automatic Number Plate Recognition (ANPR/ALPR) system simulation.

CameraTechVideo

Installation & Usage

  1. Download the latest release.
  2. Unzip the CameraTech folder into your resources folder on your FiveM server.
  3. Add the following to your server.cfg file:
start CameraTech
  1. Add (police) vehicle models that are equipped with ANPR to anprvehicles.txt, each new model should be on a new line.
  2. Optionally, enable the ANPR whitelist in vars.lua and add identifiers. This only affects commands for use of police.
  3. Optionally, add or remove fixed ANPR cameras on the map in fixedanprcameras.json, following the format of the provided file.
  4. Optionally, in sv_CameraTech.lua, uncomment lines 5 to 7 and 16 to 18 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

  • /anpr - Toggles the ANPR interface if you are in a specified vehicle with equipped ANPR (Whitelisted).
  • /fixedanpr - Toggles ANPR alerts from fixed ANPR cameras on the map (Whitelisted).
  • /readplate - Reads the plate of the vehicle in front of you and puts it in chat.
  • /checkplate PLATE - Returns the ANPR markers currently active for the specified plate.
  • /focusanpr PLATE - Only displays fixed ANPR alerts for the specified PLATE and automatically draws a route if any hit comes in. Leave PLATE blank to unfocus.
  • /setplateinfo PLATE;INFO - Adds ANPR markers (INFO) for the specified plate. Leave INFO blank to remove markers. Example: /setplateinfo AB12CDE;STOLEN
  • /setvehinfo INFO - Adds ANPR markers (INFO) for the plate of the vehicle you're currently in. Leave INFO blank to remove markers. Example: /setvehinfo STOLEN
  • /anprinterface - Toggles the ANPR interface.

Improvements & Licencing

Please view the license. Improvements and new feature additions are very welcome, please feel free to 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.

Libraries used (many thanks to their authors)

Video

Click here

Screenshots

CameraTech

cameratech's People

Contributors

albo1125 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.