Dahua video analytics support

Answered

Comments

16 comments

  • Official comment
    Avatar
    Norman Graafsma

    Gentleman,

    The work is in progress at this very moment. 

    Comment actions Permalink
  • Avatar
    Jorge Cordova

    I agree whit Fredrik, specially in thermal cams ;)

    0
    Comment actions Permalink
  • Avatar
    Henri Nieuwstraten

    Yes! Would be great!

    0
    Comment actions Permalink
  • Avatar
    Dan Haller

    @Norman/Tony:

    I have 4 OEM Dahua cameras with IVS support on latest Dahua firmware and would like to use the In-Camera Analytics once 4.0 is released.

    The cameras are OEM'd from Empire Tech https://www.amazon.com/gp/product/B07B7K1P28/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

    and run Dahua software but Nx Server discovers them as follows...

    Model - IP Camera
    Firmware - 2.800.0000005.0.R, Build Date 2019-03-25
    Vendor - General

    Note the camera model does not report and the vendor is not reported as Dahua but it is running the latest Dahua software and has IVS for sure.  Can I edit some configuration somewhere to force camera as Danua with the 4.0 Beta?  Or does your software figure it out and I should not worry?

    /dan

    0
    Comment actions Permalink
  • Avatar
    Norman Graafsma

    Hi Dan,

    There is likely a trick. I will create a ticket from your request and we can work from there. 

    0
    Comment actions Permalink
  • Avatar
    Dan Haller

    Thanks Norman,

    I just realized that bascially, this is the same question you are tracking down for Ryan in another thread https://support.networkoptix.com/hc/en-us/community/posts/360020948493-Camera-Analytics-for-HIKVision-OEM?page=1#community_comment_360008824893.

    Somehow I missed it since that thread was about HIKVision.

    The ability to set my Vendor as Dahua for my OEM camera would likely solve the issue.

    /dan

    0
    Comment actions Permalink
  • Avatar
    Dan Haller

    Norman,

    I've updated to the V4.0 Beta (so I would have the Dahua In-Camera Analytics feature).

    I updated my database as follows so that my OEM Dahua camera entries would show up with vendor=Dahua and I restarted the server.  My cameras have the latest firmware that support IVS Analytics capabilities.

    dan@nuclear:/opt/networkoptix/mediaserver/var$ sudo sqlite3 ecs.sqlite
    SQLite version 3.22.0 2018-01-22 18:45:57
    Enter ".help" for usage hints.
    sqlite> update vms_camera set vendor="Dahua" where physical_id="A0-BD-1D-10-93-B8";
    sqlite> update vms_camera set vendor="Dahua" where physical_id="A0-BD-1D-10-94-0A";
    sqlite> .quit

    Camera inventory is updated in the GUI after server restart.

    I see that the camera has the "Dahua analytics plugin" enabled.

    I am now able to create an Analytics camera rule. 

    I created a trip-wire on the Camera.

    The trip-wire works on the Camera...

    But no Analytics event shows up in Nx Witness. 

    Am I missing some other required configuration?

    I am willing to work with support or send logs.

    /dan

    0
    Comment actions Permalink
  • Avatar
    Jasper Leenknegt

    Does the Dahua analytics functions already work in V4.0?

     

     

    0
    Comment actions Permalink
  • Avatar
    Norman Graafsma

    Yes Jasper, 

    The following Dahua analytics should work in v4.0. 

    Dahua in-camera analytics - tested with firmware 2.622.0000000.31.R, Build Date 2018-08-13

      • Motion detection
      • Face detection
      • Alarm detection
      • Storage absence detection
      • Storage failure detection
      • Storage low space detection
      • Video blind detection
      • Scene change detection (Video abnormal detection)
      • Audio anomaly detection (Audio input abnormal detection)
      • Login error detection

    Dahua in-camera analytics - Not tested, but potentially supported:

      • Video loss detection
      • Defocus detection
      • Tripwire detection (Cross line detection)
      • Intrusion detection (Cross-region detection)
      • Abandoned object detection (Left object detection)
      • Missing object detection (Taken away detection)
      • Audio intensity change detection (Audio mutation detection)
      • High-temperature detection
      • Alarm output detection
    0
    Comment actions Permalink
  • Avatar
    Jasper Leenknegt

    Norman, thank you for the information.

    0
    Comment actions Permalink
  • Avatar
    Jasper Leenknegt

    In the meantime I have a Dahua camera with analytics functions to test with NX. 

    It all worked well till I updated the camera. Before I had 10+ event to chose from in the camera rules. Now when I try to ad a new rule I get an error saying the camera doesn’t support the analytics rules. If I look at the existing rules they are all coloured red but they still work tough. I still get notifications from analytics events. 

    It is a Dahua firmware, not a OEM version. 
    Would there be a solution/workarround for this problem

    0
    Comment actions Permalink
  • Avatar
    Jasper Leenknegt

    I have made a Python script for now that reads the Dahua intrusion events and sends a HTTP GET request to NX. 

    Via Generic Event I can then do anything that I like.


    If anyone is interested in this (temporary) solution just let me know!

    0
    Comment actions Permalink
  • Avatar
    Fredrik Ahlsen

    I`m interested in testing the script you made.

    0
    Comment actions Permalink
  • Avatar
    Norman Graafsma

    Hi Jasper,

    Please share the script here so anyone can download it. If you can't provide a permanent download link, I can host it instead an provide a download link for anyone. 

     

    That being said, in v4.0 the Dahua analytics should be supported and if you encounter any issues, please let us know. 

    0
    Comment actions Permalink
  • Avatar
    Jasper Leenknegt

    Gentlemen,

    Here is the script I use for the Dahua IVS: https://drive.google.com/file/d/1CoANgSWmBhpdxxCgAU1yLPP-w35_WhLe/view?usp=sharing

    The only thing you need to change is ALARM_DELAY, the camera configuration (IP, username and password) and the URL for the generic event for the NX server.

    It is based on this Github project: https://github.com/AblazeWoland/dahua-ivs-watcher

    I only changed the script so it works with NWX I am no developer at all.

     

    Like I said before the IVS worked with NX 4.0 but after updating the camera to the following firmware 2.800.0000000.8.R, Build Date 2019-09-02 the analytics events are not even recognized in the rules configuration. If this could be fixed there is no need for the script anymore.

    0
    Comment actions Permalink
  • Avatar
    Jasper Leenknegt

    Now let's hope push notifications for the mobile application will follow quickly ;)

    0
    Comment actions Permalink

Please sign in to leave a comment.