Vega LPR integration with 2N IP Intercoms and Access Units

The steps in this article require using the web interface of a 2N device. Please follow this manual in case this is your first time using the web interface.

2N devices can now use recognized license plates as another credential for entry or exit. This function can be enabled on any device that supports “Door” functionality. License plates may be assigned to a user and their validity is controlled by the same access rules as their other credentials.

License plate recognition (LPR) works outside of Access Profiles set in Hardware>Door>Entry or Exit Rules, and as such can’t be combined with other credentials for combined authentication.

 

Prerequisites

Vega camera configuration

2N device configuration

2N Access Commander configuration (optional)

Access logs entries

Prerequisites

  • Suitable Vega - Automatic Number Plate reader with following firmware or newer

    • Firmware version = VEGA BASIC 12.68.1 ITA-EU Sep 14 2021 15:16:04

      Plate Reader lib = Tattile Plate Reader Ver.3.170.000

      Traffic Interface lib = 1.135

      TOS version = 4.38.1

      Boot version = 2.40

  • 2N device with FW 2.33+

    • 2N IP/LTE Intercoms (apart from 2N® IP Uni)

    • 2N Access Units

 

Vega camera configuration

  1. Enable Template Message Action for OCR Read Event

    Vega_enable_Template_Massage_Action  
  2. Configure Template with following parameters:

    Enable: Yes

    Server IP: 2NdeviceIP

    Server Port: 2NdevicePort (default 80)

    Protocol: HTTP_post

    Content Type: application/json

    Url: api/lpr/licenseplate

    Authentication: AUTH_DIGEST

    Username: Yourusername

    Password: Yourpassword

    Jpeg Quality: 50

    Crop Image: 640x480

    Context Jpeg Quality: 50Vega_configuring_template  

  3. Upload template of JSON body
    Vega_Template_Config  
    use following format:

    {
    "lprUuid": "${YEAR}-${MONTH}-${DAY}-${HOUR}-${MIN}-${SEC}",
    "accessPoint": 0,
    "plateText": "${PLATE_STRING}",
    "plateImage": "${IMAGE_OCR}"
    }

    Vega_upload_template_of_JSON_body

2N device configuration

  1. Set Camera HTTP API to Unsecured (TCP) Digest

    2N_device_set_camera_API_to_unsecured 
  2. Set Account 1 to match credentials used in Vega camera and enable Access Control privilege

    2N_device_Account_1_setting 
  3. Enable License Plate Recognition on 2N device

    2N_device_enable_LPR 
  4. Add user and enter LP of car as an access credential in to Car Fleet management

    2N_device_add_user_with_LPR_credentials 

2N Access Commander configuration (optional)

Version 3.0+

When a 2N device is connected to 2N Access Commander, then most of its settings are managed by it. Thus, LPR settings will be managed by 2N Access Commander, but still you have to configure the device’s HTTP API credentials as those are device dependent.

  1. Configure your 2N Access Commander as you normally would. Then open details of the device you already prepared for LPR

    2N_ACOM_Devices 

    and make sure it has Lift Control turned off and that it’s assigned to the proper zone.

    2N_ACOM_Lift_Control_off 
     
  2. Then go to this Zone’s detail and enable License Plate Authentication.

    2N_ACOM_enable_License_Plate_Authentication 
     
  3. Users can have their license plates assigned under Overview → Credentials section, click Add Credential, enter one or more license plates, and confirm by clicking create.

    2N_ACOM_user_add_credentials   

     

    2N_ACOM_License_Plate  

     

    2N_ACOM_LP_credentials 
     
  4. Verify that this user is assigned to the correct group

    2N_ACOM_assign_user_to_correct_group  

    and create an Access Rule for it.

    2N_ACOM_create_Access_Rule 
     
  5. Optionally , if you’d like to get photos of recognized license plates, you can create + CAM LOGS . Name the log accordinglyand after creaion select the Car license plate recognised.

    2N_ACOM_Create_CAM_LOGS  

     

    2N_ACOM_LPR 
     
  6. Then ADD all devices you want to receive photos from to this CAM Log.

    2N_ACOM_Add_devices_to_CAM_Log  

    Once everything is configured, Access Logs will show up once a license plate is recognized.

2N_ACOM_Access_Log

Access logs entries

In 2N IP device you can see that user has been authenticated by LPR:

2N_IP_device_Access_logs_entries 

 

Similarly you can see Access Log entry in Access Commander if used:

2N_ACOM_Access_Log_entries

Was this page helpful?