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.

IWR1642BOOST: Possible to extend people counting demo with direction detection?

Part Number: IWR1642BOOST

Hello,

I am already using the people counting demo on my ES2.0 device and was able to extend it with a counter for the total number of people who passed through a defined area. Now I want to count the number of people and their direction, as you suggested in one of the mmW videos. I already tried different approaches but nothing worked out.

Do you have any good solutions for my Problem?

Best regards

Patrick

  • Hi Patrick,

    The EVM will send velocity and acceleration information for each tracked person to the GUI.  If you can edit the GUI, there is a variable called S. It is stored in the Fhist as FHist.targetList.S. S is a 6 by N matrix, where N is the number of tracked people. Format of Each column is as follows:

    1. Position X
    2. Position Y
    3. Velocity X
    4. Velocity Y
    5. Acceleration X
    6. Acceleration Y

    If you are interested in how this is seen inside the C code, this data is passed across the UART in task_mbox.c inside the MSS.  The format of the output is described in mmw_output.h in the common folder. See line 235 - MmwDemo_output_message_target_t.

    Regards,

    Justin