Skip to content

Instantly share code, notes, and snippets.

View lightheaded's full-sized avatar

Tom Välja lightheaded

View GitHub Profile
# Usage: python shift-gps-coordinates.py /path/to/photos
import copy
import pathlib
import sys
from os import listdir
from os.path import isfile, join, basename, dirname
from shutil import copy2
import piexif
# the input file should contain newline-separated s3 URLS, such as s3://bucket/prefix/file.jpg
import multiprocessing as mp
import os
from urllib.parse import urlparse
import boto3
s3 = boto3.resource('s3')
my_bucket = s3.Bucket('ubird-assets')
<div class="upload-page__sidebar">
<div class="upload-table-header"><h2 class="upload-table-header__title">Uploads</h2>
<div class="upload-table-header__controls"><p class="upload-table-header__notice">NB! Additional charges
apply</p>
<button class="button button--style-default"><span class="button__label">Start processing</span></button>
</div>
</div>
<table class="upload-table">
<thead>
<tr>