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.

How to get Motion Detection -- xy -points DM8168 DVRRDK-DM8168_DVRRDK_V03.00.00.00

Hi All,

How do I get motion detected position ?

 I am able to  get only motion is detected but i need to  get position on the Frame so that I can draw a rectangle/circle on frame while displaying.

Using default TIs decoder.

Regard's

Mahesh Kalmeshwar.

  • There are two ways motion info is exported to application.

    The H264 encoder exports the MV info and this is part of the bitstream buffer exported to the application. You can refer /dvr_rdk/dvrapp/ti816x/app/src/app_motion.c for reference usage

    The DSP LMD algorithm exports motion info .You can refer /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_scd_bits_wr.c for reference usage

  • Hi Badri,

    i went through the source.

    The flow:

    the user will set the X and Y from grid from qt application(GUI),than this will display on the  TV.

    my requirement:

    is it possible after motion detection from the codec's - it has to get me the X and Y position to ARM later from ARM to dsp for displaying the rectangle on the FB.

    let me know how to do it ?

    Regards

    Mahesh Kalmeshwar

  • /dvr_rdk/demos/mcfw_api_demos/mcfw_demo/demo_scd_bits_wr.c does something very similar. Have you checked it in the mcfw progressive demo ? Any reason you cant use that ?