How to properly exclude images when stopped at a red light using mapillary_tools

Hi,

I have a GoPro MAX and have been playing with extracting images from videos. Mostly this works, but when I stop at a red light a lot of useless images are being accumulated for nearly the same spot. I’m confused about the two options I believe would solve my problem:

  --cutoff_distance CUTOFF_DISTANCE
                        maximum GPS distance in meters within a sequence

and

  --duplicate_distance DUPLICATE_DISTANCE
                        max distance for two images to be considered

I would think that one of these would be the filter I need to ignore images that are close together, yet, no matter what option or distance value I put, I still get the same results.

Here is the command I’m using:

mapillary_tools --verbose video_process video2process/ sample_images/ --geotag_source "gopro_videos" --interpolate_directions --video_sample_interval 2 --duplicate_distance 5 --interpolation_use_gpx_start_time --overwrite_all_EXIF_tags

The run produced this output:

022-04-24 08:40:58,118 - DEBUG   - Parsing GoPro GPMF /tmp/tmp1nnvonsf
2022-04-24 08:40:58,230 - DEBUG   - Initial time offset for interpolation: 0.0
2022-04-24 08:40:58,230 - DEBUG   - GPX start time delta: 4:01:23.856000
2022-04-24 08:40:58,231 - DEBUG   - Final time offset for interpolation: 14483.856
2022-04-24 08:40:59,095 - INFO    -       41 images read in total
2022-04-24 08:40:59,095 - INFO    -       38 images processed and ready to be uploaded
2022-04-24 08:40:59,096 - WARNING -        3 images skipped due to MapillaryDuplicationError
2022-04-24 08:40:59,096 - INFO    - Check the image description file for details: sample_images/mapillary_image_description.json

Here are the images dragged into EasyGPS so you can see the relative positions of each image.

Which command should I be using to “ignore” images closer than X and how does that work exactly when you have a string of images? Is it drawing a circle around each image and ignoring any other image within the radius? If so, why is it not working as I expect?

Any help would be appreciated.

Thanks,
Rob