Commit 47e747eb authored by Clément Pinard's avatar Clément Pinard
Browse files

Fix : use location_valid instead of location

parent 2029bc81
...@@ -258,6 +258,7 @@ def process_video_folder(videos_list, existing_pictures, output_video_folder, im ...@@ -258,6 +258,7 @@ def process_video_folder(videos_list, existing_pictures, output_video_folder, im
videos_summary[device]["indoor"] += 1 videos_summary[device]["indoor"] += 1
else: else:
videos_summary[device]["outdoor"] += 1 videos_summary[device]["outdoor"] += 1
if sum(metadata["location_valid"]) > 0:
if centroid is None: if centroid is None:
'''No centroid (possibly because there was no georeferenced lidar pointcloud in the first place) '''No centroid (possibly because there was no georeferenced lidar pointcloud in the first place)
set it as the first valid GPS position of the first outdoor video''' set it as the first valid GPS position of the first outdoor video'''
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment