This repo mainly contains usages of the modules that were created in the tools repo for personal usage and image metadata processing.
Usage: python <file>
, if arguments are supported, program is listed as python <file> (--h)
-
argparse_template.py (--h)
Boilerplate template for argparse arguments. -
_paths_template.py
Template to store paths used in scripts -
_paths_import_template.py
Template to access paths from _paths_template -
_paths_display.py
Read out path definitions from_paths_template.py
EXIFTOOL.exe
used for reading camera specific metadata, needs to be found in Windows path (EXIFTOOL)IMAGEMAGICK.exe
used for resizing images, needs to be found in Windows path (IMAGEMAGICK)- Some parts for reading EXIF might require Pillow (Installation) NOTE It might be necessary to define complete path ("c:/.../") to executables in in paths template.
-
img_meta_copy_meta_files.py
copies metadata files for image processing -
img_metadata_rename_files.py
renames copied metadata files in umo folder to be used for processing -
img_move_img_manual.py
If image metadata doesn't contain lens information, it will be considered a manual lens and be moved to a separate folder
-
img_file_rename.py (--h)
(uses img_file_info_xls.py)
Renames Image files based on EXIF data (supports jpg and images from panoramic cameras). -
img_rename_original_filenames.py
(replaced by img_file_rename.py)
Utility to rename original filenames (signature three letters and five digits). -
img_rename_original_filenames_pano.py
(replaced by img_file_rename.py)
Utility to rename original filenames:
PANORAMA FILES
(signature IMG_YYYYMMDD_HHMMSS_00_###_*.(filetype) )
STANDARD OUT OF CAM FILES
WWWDDDDD.(filetype) (three letters five digits) -
img_copy_pano_metadata.py
copying metadata from insp panorama files to exported image files (for example taken screenshots do not contain metadata) -
img_metadata_copy_from_img.py
copies image metadata from one source file to other files belonging to a file group -
img_metadata_process_cwd.py
complete image metadata processing workflow -
img_file_info_resize_v2.py (--h)
(uses img_file_info_xls.py)
- Resizes Images using IMAGEMAGICK
- Can additionally be used to create file containing Image descriptions based on EXIF data
img_change_metadata.py
If image metadata doesn't contain lens information, it will be considered a manual lens and lens image metadata (like focal length and lens model) will be added into metadata.
-
img_collateral_file_cleanup.py
Utility to delete collateral files in 1st level subfolders of a directory -
img_file_info_delete_metadata.py
deleting metadata folder -
img_delete_subfolders.py
Deleting subfolders -
img_delete_pano_files.py
Utility to delete panorama files in a directory: check if there is a single dng file present
(assuming the jpg or other file were deleted) gets directory from clipboard
-
img_file_info_process.py
saves subfolder information as json and xls -
img_file_info_xls_exiftool.py
Utility to read out important exif metadata using exiftool
- Reading out Windows shortcuts needs
win32com
module (pip install -U pypiwin32
)
-
file_info.py (--h)
** Reads all files in given path. In case content can be read, it will be output to console (can be usefiul in combination with grep command to search for text in files). Uses file_module.py -
files_delete_from_stem.py
Utility to delete files that are not part of a reference snippet file name list Snippet will consider only part of a filename (the first compare_len characters)
Use Case: Files with same prefix but different file name endings can be deleted as well, even different subfolders, based on a reference list of files.
-
video_series_rename_v2.py
(uses video_rename_v2.py)
Renames downloaded video files from public german tv channels downloaded with the https://mediathekview.de tool.
Parses both text files and file names to check out for rename of files into series and episodes. Also generates json sidecars containing the additional data contained in the text files -
gpx_rename.py
rename gpx files according to their first occurence of track name.place this file inside directory with the gpx file (tbd)\ -
health_data.py
Util file that helps to transform data from my health app into a single data frame (to be used for insert into my XLS file)