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.

AWR1642: AWR1642 People counting demo lab - detection and counting in GUI

Part Number: AWR1642

Hello,

We are implementing our own parsing code in JS according to the data format section in the people counting guide.
Because we checked the logic of the UART data parsing we know that we are extracting the ID's in TLV target list right.

We tested our application in real-time side by side with TI's people counting demo lab.
The problem is that in the TI's GUI demo we are seeing much fewer detection objects than in our GUI.
Is the GUI have another function on the object detection before showing in on the screen, for example counting how much time the specific object detection ID is occurring in several frames?

Thanks,
Avi

  • Hi,

    Due to holidays we will be able to get back to you next week

    thank you

    Cesar

  • Hello Avi,

    There is a feature to turn off the display of static points. By default this visualizer does not display the static objects, only objects that are moving. Have you confirmed that the option to display static objects is enabled? There is an option in the 'plot controls' section of the GUI. 

    There is also a persistence option in the people counting visualizer. The default is set to 3 frames. This will affect how many objects appear in the visualizer at once, but should only increase the number of points. Are you adding any persistence to your number of detected objects?

    Also, if you are running 2 sensors side by side, can you confirm that you have loaded the same binary file and cfg file? Any difference in the cfg file can change the number of tracked objects.

    Regards,

    Jackson

  • Hi Jackson,

    Thank you for your response.

    First - yes, we have loaded the same binary file and cfg file.

    I will try to be more clear with my question:

    When we are looking at our JS demo, and TI demo we see this situation for a couple of seconds: for example, 3 people in our demo and 1 people in TI demo. After some seconds in our demo the 2 other people disappear and in our demo (JS demo) we have only 1 people (like in the TI demo from the start). My question is: our JS demo display each ID we get from the Target List TLV (if the Target List TLV include 3 Tarck ID we display in our demo 3 people), the TI demo use the same data frame our demo is getting, but does the TI demo do any check before he displays the Track ID? for example, does the TI demo check if the same Track ID is inside 5 Target List TLV in a row and ONLY then TI demo display that Tarck ID? does the TI demo check if the Tarck ID is inside the Target List TLV AND the Index TLV and ONLY then displayed it?

    Hope you will understand my question better now,

    Thank you.

  • Hello Avi,

    Thank you for the additional information. Our GUI does not do any additional check before displaying the Track ID, just displays what is coming from the UART stream.

    Regards,

    Jackson

  • Hi Jackson,

    Thank you for your response.

    Can you please tell me more details about how the GUI displays the tracked ID's?

    Because the TI sensor sends every ~50ms a data frame (correct me if I wrong), does the GUI immediately display the data? or does it wait to gather about 100 data frames and only then display that data?

    Because not each frame include TLV 7 (Target List), and if the GUI immediately displayed the data, we should see some "blinking" when there is no TLV 7 (blank screen) and screen with track objects when there is TLV 7 - but this is not the case here, because when the GUI displays an object, you see the object all the time, and you will see the object disappear only when the sensor will stop following him.

    Also, does the GUI (for the track object display) looking only at the Target List TLV, or does it also looking at the same time at the Index TLV?

    Thank you!

  • Hello Avi,

    Can you please confirm which exact GUI you are talking about? And can you say which version of the toolbox you are using?

    Thanks,

    Jackson

  • Hi Jackson,

    I am talking about mmwave_industrial_toolbox_4_1_0 with people_counting lab and it's pplcount_gui by Matlab you created for this demo.
    The sensor is mmWave AWR1642 ES.02

    Thanks,
    Avi

  • Hello Avi,

    The source code for the gui is provided along with the .exe in the "mmwave_industrial_toolbox_4_1_0\labs\people_counting\16xx_people_counting\gui" folder. The parsing and displaying is shown in 'main_pplcount_viz.m'. Please look at this code to see what the GUI is doing to display the objects and compare it with your JS display.

    Regards,

    Jackson

  • Hi Jackson,

    Thanks for your reference, unfortunately, we are not so familiar with MatLab.

    Is it possible you can tell us in a brief how the GUI code actually work?

    We don't need to understand the whole code, but we just can't understand this part: does the GUI using only Target List TLV to display the tracked objects, or does the GUI looking at something else. If so, and the GUI using only the Target List TLV, does it display each Target List TLV he gets, or, for example, each 100th Target List TLV? Or another option, the GUI display the track objects he sees inside the Target List TLV ONLY after he sees them inside Index TLV?

    Again, thank you for your help!

  • Hi Avi,

    This Gui will plot all TLV targets as they come in. It will not wait to plot them, it only holds the point cloud data for 100 frames.

    Best Regards,

    Jackson