can anyone please tell me ObjectDetections in Driving Scenario Designer ( Attached) what information gives us?

2 views (last 30 days)
Azam Alaei
Azam Alaei on 30 Aug 2021
Commented: Azam Alaei on 4 Sep 2021
Hello
Variable like ObjectsDetections in the attached photo what information gives us ? For example 6*1cell means 6 objects were detected ?As you see I have different numbers in this column.
Thanks

Answers (1)

Kshitij Chhabra
Kshitij Chhabra on 2 Sep 2021
Hello,
ObjectDetections gives the output as a structure corresponding to the number of generated detection as a cell array of objectDetection objects. The given is generated as a result of drivingRadarDataGenerator function which gets added whenever you add a sensor to your ego vehicle in the driving scenario generator. As you've interpreted correctly, 6*1 cell would mean that 6 objects were detected.
The same can be visualised in the following example scenario I created:
On exporting the driving scenario, and running the function it would give an output of ObjectDetection with a 3*1 cell array

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!