Crates.io | mapillary-seq-cleanup |
lib.rs | mapillary-seq-cleanup |
version | 0.1.2 |
source | src |
created_at | 2023-02-26 17:15:08.076266 |
updated_at | 2023-04-02 12:15:19.931206 |
description | A simple tool to clean mapillary_tools proceeded GoPro timelapse images. |
homepage | |
repository | https://github.com/littlebtc/mapillary-seq-cleanup |
max_upload_size | |
id | 795335 |
size | 35,596 |
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.
mapillary_tools
v0.10.0It is written in Rust and published on crates.io.
Install Rust and use Cargo to install it:
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:
mapillary_tools process gptodo --interpolate_directions --skip_process_errors && \
mapillary_seq_cleanup --timezone "Asia/Taipei" gptodo && \
mapillary_tools upload gptodo
Usage: mapillary_seq_cleanup [OPTIONS] <PATH>
Arguments:
<PATH> Path to the images and mapillary_image_description.json
Options:
--timezone <TIMEZONE>
Time zone used to convert timestamps to UTC e.g. Asia/Taipei [default: UTC]
--cutoff_time <CUTOFF_TIME>
Cut sequence if adjacent images exceeds specified seconds [default: 10]
--duplicate_distance <DUPLICATE_DISTANCE>
Consider following image is a duplicate if distance between two are lower than that meters [default: 2]
--max_sequence_length <MAX_SEQUENCE_LENGTH>
The maximum sequence image count [default: 200]
-h, --help
Print help
MIT