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.

Motion Detection in IPNC RDK version 3.8

Hi,

I again started my query regarding Motion Detection which we have already discussed previously as in link : "e2e.ti.com/.../1448859"

My requirement is so simple.

1. Wants to give a control for Sensitivity, Detection Level and Time Interval to Driver from WebPg (My OWN)
2. There are 4 Zones and each has 16 Vertexes(with X and Y Controls only), already given in RDK.
   Wants to give control of all 16 Vertexes to Driver, with independently Enable/Disbale, X, Y, Height and Width.
     
   Is it Possible ?

I started Motion with 4 Zones only.

As I discussed about Motion Detection Level and Time Interval, I Study IPNC RDK version 3.8.
There is no Time Interval, Can you please provide this?

I am confused in following sections,

1. There is are some functions called from a file "ipnc_app/sys_server/src/main.c" as follows:

    SetMotionDetect()
    SetMotionDetCEnable()
    SetMotionDetLevel()
    SetMotionDetCValue()
    SetMotionDetectBlock()

& All above functioins are used structure "pSysInfo->motion_config" to store Values.

Another structure is used for motion event is "pSysInfo->dmva_config"

I am confused which structure is used for Motion Detection to fullfill my requirements ?
Can you please elaborate both?

Its needed on urgent base.

Regards,
Sandip Gokani

  • I will notify the IPNC RDK team for help.

    Regards,
    Pavel
  • Hi,

    There are 2 Motion Detection Algorithms in the DM8127 IPNC RDK:

    • Motion Detection (MD)
    • Intellegent Motion Detection (IMD)

    The MD algorithm is based on the SAD values output by the encoder.The motion APIs that you menotioned and the 'motion_config' structure correspond to this MD algorithm.

    On the other hand IMD is part of Smart Analytics algorithm and the 'dmva_config' structure corresponds to this IMD algorithm.

    The IMD algorithm supports the following features:

    • It supports upto 4 zones each having a max of 16 vertices under which motion is detected.
    • The zones can be enabled/disabled.
    • The sensitivity,min and max person/vehicle sizes for detection are configurable.

    What is your requirement w.r.t time interval do you want the IMD algorithm to detect motion during an interval between T0 and T1?

     

    regards,

    Anand

  • Hi Anand,

    Thanks for reply.

    I am going with Intellegent Motion Detection (IMD).

    As per requirement, about Time Interval, I want the IMD algorithm will detect motion after that T0 interval..Is it Possible? and should be configurable ?

    For Example, If I set Time Interval T0 = 5 sec. then IMD algorithm detects motion after 5 sec. (If motion is continue after 5 sec.).

    2nd Point Regarding Requirement, about giving controls of all 16 Vertexes to Driver, with independently Enable/Disbale, X, Y, Height and Width. Right now, Only X and Y is there, and still there is no control of it from Webpage to Driver. Is is possible to add Enable/Disable all vertexes with Height and Width also ?

    3rd point Regarding Detection Level? Is it Configuratble ?

    Waiting for your reply.

    Regards,

    Sandip

  • Hi,

    The IMD algorithm cannot support the time interval feature.It is frame based algorithm which will process the input frame and outputs the detection result.

    You can implement the time interval using the Clock feature and introduce it in the VA link code.You create the Clock,configure the period and start it.After the expiry of the period the registered call back function is called in which you can enable the IMD.

    IMD supports 4 zones which are polygons with max 16 vertices under which the motion is detected.

    I don't understand what do you mean by width and height for the zones since it is polygon with multiple vertices??

    You can enable/disable,add,delete and modify the IMD zones from the webGUI.Pl. refer to the sec 2.3 of the doc IPNC_RDK_GUI_Guide.pdf for the details.

    The IMD has sensitivity level which can be configured.

     

    regards,

    Anand

     

  • Hi Ananad

    My Requirement is -

    1. If I draw any square box in Video Frame, Passes that X, Y, Height and Width of Square box to Driver and Driver (Or You can say, Motion Algorithm) will detect motion, if motion is happened within that square box.

    Here, Square box = Zone, and I will use only one vertexes for each zone then,

    there will be 4 zones = 4  vertexes (X & Y already there, required Height and Width), will applied to driver and will detect motion within that Square box.

    Zone Enable or Disable is already there, so My Square box will enable or disable. When it will enable then will detect motion and when It will disable then not able to detect motion.

    2.  As you say, Time interval implement by clock features and introduce it in the VA link code. But I am not aware of this, Can you please provide this feature?

    3. Also Please reply about Detection Level ? is it there in Algorithm?

    So, Finally Sensitivity, Time interval and Detection Level - This 3 parameters are configurable for Motion.

    Also Square box = Zone configurable which is used to detect  motion.

    Hope you understand my requirement, Waiting for your reply.

    Regards,

    Sandip

  • Hi Anand,

    Waiting for your reply.

    Regards,

    Sandip Gokani

  • Hi,

    You can  modify the VA link code to map the X,Y,W and H parameters into 4 vertices of the zone.

    The clock fetaure is used in the IPC Bits link,you can refer to these links.

    The IMD doesn't support detection level there is only sensitivity parameter available.

    regards,

    Anand

  • Hi Anand,

    Sry for late reply.

    Is it possible for you to send me a patch for Time Interval and Modify VA link code for mapping X,Y,W and H parameters?

    Waiting for your reply.

    Regards,

    Sandip

  • Hi Anand,

    Waiting for your reply about Patch.

    Regards,

    Sandip

  • Hi,

     

    I have already provided pointers on this.

    It will be very difficult for me to implement and test the requested changes.

     

    regards,

    Anand