This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Increase Zone for IMD (Video Analytics) in IPNC RDK 3.8

Hi,

I am working on IPNC RDK version 3.8. I am trying to increase IMd zones from 4 (current support in RDK) to 10.

I have done chages for that at IPNC APP side as well as IPNC MCFW side.

Changes in IPNC_APP:

1. Increase parameters of structure Dmva_Config_Data (from SysInfo)

__u32 dmvaAppIMDZone1_ROI_numSides_sys;  to   __u32 dmvaAppIMDZone10_ROI_numSides_sys;

__u32 dmvaAppIMDZone1_x[17];  to  __u32 dmvaAppIMDZone10_x[17];
__u32 dmvaAppIMDZone1_y[17];  to  __u32 dmvaAppIMDZone10_y[17];

2. As well As passes data, according to variable added in structure from IPNC_APP to IPNC_MCFW.

 

Changes in IPNC_MCFW:

1. Increase parameters DMVALpolygon polygon[10]; in structure VaLink_algObj (before it was polygon[4])

          2. Changes according to polygon in IMD @ ./ipnc_mcfw/mcfw/src_bios6/links_common/va/vaLink_alg.c

Got An assertion :

[c6xdsp ] DMVAL:
[c6xdsp ] > DMVAL: Invalid timestamp in video frame!
[c6xdsp ]  175397: Assertion @ Line: 3279 in links_common/va/vaLink_alg.c: libStatus == DMVAL_NO_ERROR : failed !!!

Is there any Issue regarding DMVAL Library?

Can you please resolve my Issue.

Regards,

Sandip Gokani.        

  • Hello,

    I will notify the IPNC team for help.

    BR
    Margarita
  • Waiting for Reply.

    Regards,
    Sandip
  • Hi,

    The IMD algorithm supports maximum of 4 zones.

    regards,

    Anand

  • Hi Anand,

    Thanks for reply.

    1. Is it possible to increase ?

    2. Also By default providing x & y, but is it possible to apply height and width from application layer (IPNC_APP) ? or From Webserver?

    3. One more question is that, There is a support of Sensitivity in IMD, Is it possible to apply a support of Detection level, Time interval & sampling interval ?

    Regards,

    Sandip Gokani

  • Hi,

    1. The algorithm supports max of 4 zones so we cannot increase from the application.
    2. I didn't get this completely.Do you mean changing the width and height of the IMD zones? The IMD zones supports upto 16 vertices.You can delete and create new zones from the GUI.Pl. refer to the IPNC user guide for the details.
    3. What do you mean by detection level? Do you need option to enable the algorithm for a specific interval?

    regards,

    Anand

  • Hi Anand,

    Sorry for late reply.

    I was quite busy in other task schedules..... I will read IPNC User Guide and if any query then will ask you further in one or two days.

    I will give you more details for Detection level and Sampling Interval.

    YES, I need one more option for specific Time Interval because I want like, Specific Motion or Tamper events will detect after that particular Time interval If and only if that events continuous running till that Time Interval.

    I try to increase Zones from 4 to 10 from my application & below Logs for your verification. But Got some warning/error - Can you please elaborate on it (About ROI of Zones)

    Log:

     [c6xdsp ]  79895: VA   : NEW MAIN Parameters received !!!
     [c6xdsp ] DMVAL:
     [c6xdsp ] > DMVAL: Library framework reset.
     [c6xdsp ] DMVAL:
     [c6xdsp ] > DMVAL: Intelligent Motion Detection installed.
     [c6xdsp ] DMVAL:
     [c6xdsp ] > DMVAL: Initialized library applications.
     [c6xdsp ] DMVAL:
     [c6xdsp ] Maximum possible ROI is already set for IMD
     [c6xdsp ] WARNING:VaLink_algSetDmvaPrm:Error 6 while setting 4 ROI
     [c6xdsp ] DMVAL:
     [c6xdsp ] Maximum possible ROI is already set for IMD
     [c6xdsp ] WARNING:VaLink_algSetDmvaPrm:
    Error 6 while setting 5 ROI
     [c6xdsp ] DMVAL:
     [c6xdsp ] Maximum possible ROI is already set for IMD
     [c6xdsp ] WARNING:VaLink_algSetDmvaPrm:Error 6 while setting 6 ROI
     [c6xdsp ] DMVAL:
     [c6xdsp ] Maximum possible ROI is already set for IMD
     [c6xdsp ] WARNING:VaLink_algSetDmvaPrm:Error 6 while setting 7 ROI
     [c6xdsp ] DMVAL:
     [c6xdsp ] Maximum possible ROI is already set for IMD
     [c6xdsp ] WARNING:VaLink_algSetDmvaPrm:Error 6 while setting 8 ROI
     [c6xdsp ] DMVAL:
     [c6xdsp ] Maximum possible ROI is already set for IMD
     [c6xdsp ] WARNING:VaLink_algSetDmvaPrm:Error 6 while setting 9 ROI
     [c6xdsp ]  79967: VA   : Setting IMD Parameters !!!
     [c6xdsp ]  79967: VA   : --------------------- !!!
     [c6xdsp ]  79967: VA   : sensitiveness      = 3 !!!
     [c6xdsp ]  79967: VA   : Min Person Size    = (32,19) !!!
     [c6xdsp ]  79967: VA   : Max Person Size    = (160,96) !!!
     [c6xdsp ]  79967: VA   : Min Vehicle Size   = (32,19) !!!
     [c6xdsp ]  79967: VA   : Max Vehicle Size   = (160,96) !!!
     [c6xdsp ]  79967: VA   : VehiclesInFOV      = 1 !!!
     [c6xdsp ]  79967: VA   : PeopleInFOV        = 1 !!!
     [c6xdsp ]  79967: VA   : enableIgnoreMask   = 0 !!!
     [c6xdsp ]  79967: VA   : Num of Zones       = 10 !!!
     [c6xdsp ]  79968: VA   : ZONE 0 params      - Id = 1,valid = 1,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79968: VA   :       (41,82) !!!
     [c6xdsp ]  79968: VA   :       (156,82) !!!
     [c6xdsp ]  79968: VA   :       (156,184) !!!
     [c6xdsp ]  79968: VA   :       (41,184) !!!
     [c6xdsp ]  79968: VA   :       (41,82) !!!
     [c6xdsp ]  79968: VA   : ZONE 1 params      - Id = 2,valid = 1,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79968: VA   :       (9,7) !!!
     [c6xdsp ]  79968: VA   :       (188,7) !!!
     [c6xdsp ]  79968: VA   :       (188,65) !!!
     [c6xdsp ]  79968: VA   :       (9,65) !!!
     [c6xdsp ]  79968: VA   :       (9,7) !!!
     [c6xdsp ]  79968: VA   : ZONE 2 params      - Id = 3,valid = 1,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79968: VA   :       (0,0) !!!
     [c6xdsp ]  79968: VA   :       (0,0) !!!
     [c6xdsp ]  79968: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   : ZONE 3 params      - Id = 4,valid = 1,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   : ZONE 4 params      - Id = 5,valid = 0,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79969: VA   : ZONE 5 params      - Id = 6,valid = 0,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79969: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   : ZONE 6 params      - Id = 7,valid = 0,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   : ZONE 7 params      - Id = 8,valid = 0,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   :       (0,0) !!!
     [c6xdsp ]  79970: VA   : ZONE 8 params      - Id = 9,valid = 0,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   : ZONE 9 params      - Id = 10,valid = 0,type = 1,numPoints = 5 !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   :       (0,0) !!!
     [c6xdsp ]  79971: VA   : Setting IMD Parameters DONE !!!
     [c6xdsp ] DMVAL:
     [c6xdsp ] > DMVAL: Library framework reset.

  • Hi,

     

    The IMD algorithm supports max of 4 zones only.

    Pl. don't try to increase it.

     

    regards,

    Anand

  • Hi,
    I need one more option for specific Time Interval because I want like, Specific Motion or Tamper events will detect after that particular Time interval If and only if that events continuous running till that Time Interval.

    Regards,
    Sandip