112 lines
2.8 KiB
Markdown
Executable File
112 lines
2.8 KiB
Markdown
Executable File
# NOW
|
|
|
|
- db integrity have not to be checked in media but in collection??
|
|
|
|
- build structure to store file path and info with metadata
|
|
metadatas[file_path] = {'checksum': value}. Init must select same files than
|
|
get_metadatata
|
|
|
|
- check edit_metadata again test with valid doc
|
|
- show exif metadata
|
|
- print all values and select some to edit
|
|
- dry run = no changes
|
|
|
|
- compare custom output folder similar to?
|
|
- ordigi-gui
|
|
- add name and dirpath options???
|
|
|
|
# TODO
|
|
Options:
|
|
--location --time
|
|
# -f overwrite metadata
|
|
--auto|-a: a set of option: geolocalisation, best match date, rename, album
|
|
from folder...
|
|
# --keep-folder option
|
|
# --rename
|
|
--confirm unsure operation
|
|
|
|
# Bugs
|
|
- summary
|
|
|
|
- set date original???, interactive mode...
|
|
|
|
- Faire en sorte que le programme ne plante pas...
|
|
- option to not update exif metadata...
|
|
## Exiftools
|
|
https://gitlab.com/TNThieding/exif
|
|
exiftool -akljklbum=tjkljkestjlj /tmp/pytest-of-cedric/pytest-12/test_sort_files0/2008-10-Oct/test_exif/2008-10-24_09-12-56-photo.nef
|
|
|
|
exiftool -album=tjkljkestjlj /tmp/pytest-of-cedric/pytest-12/test_sort_files0/2008-10-Oct/test_exif/2008-10-24_09-12-56-photo.nef
|
|
1 image files updated
|
|
|
|
Get result code....
|
|
|
|
|
|
## Doc use sphinx??
|
|
|
|
## Commands
|
|
- ordigi view/show
|
|
- ordigi search
|
|
- use tree to show paths?
|
|
|
|
|
|
# Pylint
|
|
https://pythonspeed.com/articles/pylint/
|
|
use config file
|
|
|
|
# Media:
|
|
|
|
# Test:
|
|
|
|
# enhancement
|
|
- summary: replace success by copied/moved/deleted
|
|
|
|
## Alias
|
|
alias ogi=ordigi
|
|
|
|
## Image analysis
|
|
https://pypi.org/project/google-cloud-vision/
|
|
https://googleapis.dev/python/vision/latest/index.html
|
|
https://www.datacamp.com/community/tutorials/beginner-guide-google-vision-api
|
|
|
|
|
|
## Album form folder
|
|
|
|
# Update
|
|
|
|
https://github.com/JohannesBuchner/imagehash
|
|
https://github.com/cw-somil/Duplicate-Remover
|
|
https://leons.im/posts/a-python-implementation-of-simhash-algorithm/
|
|
|
|
Visualy check similar image
|
|
https://www.pluralsight.com/guides/importing-image-data-into-numpy-arrays
|
|
https://stackoverflow.com/questions/56056054/add-check-boxes-to-scrollable-image-in-python
|
|
https://wellsr.com/python/python-image-manipulation-with-pillow-library/
|
|
kitty gird image?
|
|
https://fr.wikibooks.org/wiki/PyQt/PyQt_versus_wxPython
|
|
https://docs.python.org/3/faq/gui.html
|
|
https://docs.opencv.org/3.4/d3/df2/tutorial_py_basic_ops.html
|
|
https://stackoverflow.com/questions/52727332/python-tkinter-create-checkbox-list-from-listbox
|
|
|
|
|
|
Image gird method:
|
|
matplot
|
|
https://gist.github.com/lebedov/7018889ba47668c64bcf96aee82caec0
|
|
|
|
Tkinter
|
|
https://python-forum.io/thread-22700.html
|
|
https://stackoverflow.com/questions/43326282/how-can-i-use-images-in-a-tkinter-grid
|
|
|
|
wxwidget
|
|
https://wxpython.org/Phoenix/docs/html/wx.lib.agw.thumbnailctrl.html
|
|
|
|
|
|
Ability to change metadata to selection
|
|
|
|
Fix: change versvalidion number to 0.x99
|
|
|
|
https://github.com/andrewning/sortphotos/blob/master/src/sortphotos.py
|
|
|
|
# AFTER
|
|
|