This is a tool used by the author (littlebtc) in order to upload GoPro Hero 9+ timelapsed images, which is unable to check duplicates and cutoff sequences because the direction is missing in EXIF.

Tested with

Installation

It is written in Rust and published on crates.io.

Install Rust and use Cargo to install it: sh cargo install mapillary-seq-cleanup

Assume you have installed mapillary_tools, for all images stored in gptodo, Process the image description file between the process and upload steps:

sh mapillary_tools process gptodo --interpolate_directions --skip_process_errors && \ mapillary_seq_cleanup --timezone "Asia/Taipei" gptodo && \ mapillary_tools upload gptodo

Usage

``` Usage: mapillaryseqcleanup [OPTIONS]

Arguments: Path to the images and mapillaryimagedescription.json

Options: --timezone Time zone used to convert timestamps to UTC e.g. Asia/Taipei [default: UTC] --cutofftime Cut sequence if adjacent images exceeds specified seconds [default: 10] --duplicatedistance Consider following image is a duplicate if distance between two are lower than that meters [default: 2] --maxsequencelength The maximum sequence image count [default: 200] -h, --help Print help ```

License

MIT

See Also