Skip to content

Conversation

ptpt
Copy link
Member

@ptpt ptpt commented Mar 18, 2025

  • disable metadata validation and upload status in process stage
  • turn off detials and debug flags in exifread.process_file
  • improve exif extraction

Before: processing 9852 images

uv run -m mapillary_tools.commands process  --desc_path /tmp/foo.json   66.19s user 8.62s system 515% cpu 14.508 total

After: processing 9852 images (without validation)

uv run -m mapillary_tools.commands process  --desc_path /tmp/foo.json   5.98s user 2.37s system 238% cpu 3.494 total

After: processing 9852 images (with validation)

uv run -m mapillary_tools.commands process  --desc_path /tmp/foo.json   14.24s user 3.97s system 277% cpu 6.570 total

@ptpt ptpt changed the title improve: speed up native EXIF/GoPro/CAMM parsing improve: speed up native EXIF parsing Mar 18, 2025
@ptpt ptpt merged commit 46f289f into main Mar 18, 2025
19 checks passed
@ptpt ptpt deleted the improve-native-exif-parsing branch March 18, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants