Part Number: IWR1642BOOST
I'd like to make a judgment as to whether the vehicle detected by tracking is a large car or a small car.(For example, if the length of the vehicle is 8 m or more, I would like to judge it as a large car)
Can I calculate the size (length, width) of the detected vehicle from the tracking result using GtrackLib?If you can not ask for, how do you guess the size?
It is possible to estimate the dimensions of a tracked object you can either
A) implement it in your application using the information provided by gtrack. If you examine the Target Index TLV it reports if and to which Target ID each point in the point cloud is assigned to. From there you can extract the point cloud of each target and then calculate the general dimensions of the point cloud to estimate the size of the target.
B) A method to estimate the dimensions of a target has been implemented in the updated version of gtrack. If you download, mmWave SDK version 3.0.8 and examine this updated version of the gtrack lib there is a function gtrack_calcDim that implements a size estimation. You can either update your application to use this newer gtrack or use the source code as reference.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to AmandaN:
Hi, AmandaThank you very much for your reply.
I tried GtrackLib of the latest version of SDK.We also modified the MEX function.As a result of step processing, we were able to confirm that "dim" can be acquired.
However, I doubt that the value is reasonable.
The figure below shows the tracking result of the 38th frame of "fHistRT_0001.mat".
The bubble is horizontally long. (Conventionally it was lengthwise long)Also, "dim" at this time is as follows.------------------------------dim =
3 × 2 single matrix
0.4948 1.1330 2.3353 3.3838 0.9192 0.4728------------------------------I think that the first row is the length of the vehicle and the second row is the width of the vehicle.I think that the unit is "meter"The length is too short.
· Issues that the bubble is horizontally long· Problems in which the width of the vehicle is reported shortIs there anything I should check about these issues?
In reply to koji fukumoto:
Thank you for your reply.
Using GtrackLib in SDK 02.00.00.04, a vertically long bubble will be displayed even for the same data (38th frame of "fHistRT_0001.mat").Please see the figure below.Why is this?Does the old GtrackLib incorporate "a vertically oriented algorithm"?
I understood that the old GtrackLib has "logic that reduces constraints in the Y direction (that is, the logic in which the bubble becomes longer vertically)" is incorporated.The doubt has been resolved. Thank you very much.
Please tell me only one more thing.I'd like to port the "logic that reduces constraints in the Y direction" to the new GtrackLib.Where is that logic?Please tell me the name of the function etc.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.