Skip to content
Snippets Groups Projects
Commit 1fb66bcc authored by Siddhartha Laghuvarapu's avatar Siddhartha Laghuvarapu
Browse files

Fix Flight, frame demonstrations in DATASET.md

parent 69694266
No related branches found
No related tags found
1 merge request!2Starterkit corrections
...@@ -143,12 +143,13 @@ NOTE: You don't need to have `groundtruth.json` pre-downloaded, it will automati ...@@ -143,12 +143,13 @@ NOTE: You don't need to have `groundtruth.json` pre-downloaded, it will automati
flight_ids = dataset.get_flight_ids() flight_ids = dataset.get_flight_ids()
flight = dataset.get_flight(flight_ids[0]) # Loading single flight flight = dataset.get_flight(flight_ids[0]) # Loading single flight
airborne_objects = flight.get_airborne_objects() # Get all airborne objects airborne_objects = list(flight.get_airborne_objects()) # Get all airborne objects
airborne_objects.location # Location of object in whole flight airborne_objects[0].location # Location of object in whole flight
frames = flight.frames # All the frames of the flight frames = flight.frames # All the frames of the flight
airborne_objects_in_frame = frames.detected_objects frame_ids = list(frames.keys())
airborne_objects_location_in_frame = frames.detected_object_locations airborne_objects_in_frame = frames[frame_ids[0]].detected_objects
airborne_objects_location_in_frame = rames[frame_ids[0]].detected_object_locations
# Check out the dataset exploration notebook for more... # Check out the dataset exploration notebook for more...
[...] [...]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment