Hello,
trying to process & upload some images from Sony FDR-X1000 with latest mapillary_tools. Camera geotags jpg’s and they work just fine when uploaded through web uploader. Previous mapillary_tools (or a certain python module) had some issues how Sony exif data is organized.
Heres what I get with latest mapillary_tools and Python 2.7.15 x86.
python C:\Python27\Scripts\mapillary_tools process_and_upload --import_path “./” --user_name “kino” --verbose --rerun --advanced --interpolate_directions
Running user_process for 2928 images, skipping 0 images.
Running import_meta_data_process for 2928 images, skipping 0 images.
Running geotag_process for 2928 images, skipping 0 images.
Running sequence_process for 2928 images, skipping 0 images.
Cut 1: Delta in time 113.0 seconds is bigger then cutoff_time 60.0 seconds at D:\Digikuvat\Mapillary\Suomi-tournee-201807-01\Heinavesi-paluu\100MSDCF\DSC01181.JPG
Cut 2: Delta in time 86.0 seconds is bigger then cutoff_time 60.0 seconds at D:\Digikuvat\Mapillary\Suomi-tournee-201807-01\Heinavesi-paluu\100MSDCF\DSC02077.JPG
Cut 3: Delta in time 4801.0 seconds is bigger then cutoff_time 60.0 seconds at D:\Digikuvat\Mapillary\Suomi-tournee-201807-01\Heinavesi-paluu\100MSDCF\DSC03457.JPG
Running upload_params_process for 2928 images, skipping 0 images.
Running mapillary_image_description for 2928 images, skipping 0 images.
Traceback (most recent call last):
File “C:\Python27\Scripts\mapillary_tools”, line 60, in
command.run(args)
File “C:\Python27\lib\site-packages\mapillary_tools\commands\process_and_upload.py”, line 109, in run
upload(**({k: v for k, v in vars_args.iteritems()
File “C:\Python27\lib\site-packages\mapillary_tools\upload.py”, line 53, in upload
upload_file_list = [f for f in upload_file_list if verify_mapillary_tag(f)]
File “C:\Python27\lib\site-packages\mapillary_tools\exif_aux.py”, line 47, in verify_mapillary_tag
filepath_keep_original = processing.processed_images_rootpath(filepath)
NameError: global name ‘processing’ is not defined
pip list
Package Version
colorama 0.3.9
ExifRead 2.1.2
gpxpy 0.9.8
mapillary-tools 0.1.0
piexif 1.0.13m
Pillow 2.9.0
pip 10.0.1
py 1.5.4
pynmea2 1.12.0
pytest 3.2.3
python-dateutil 2.7.3
setuptools 39.0.1
six 1.11.0
Same error appears also if trying only to upload images. Same happens without --interpolate_directions
Any help ?
My Python install is fresh and I’m not using it for anything else than Mapillary.