I am in need of some software to pro-grammatically compare image files - in the repo i find ‘dupeguru’ … and it installs ok … requires python3 but that is installed … but when i go to run it i get this … as if there is a dependency issue … but the system does not alert so.
bin $ python3 dupeguru
Traceback (most recent call last):
File "dupeguru", line 81, in <module>
sys.exit(main())
File "dupeguru", line 66, in main
from qt.app import DupeGuru
File "/usr/lib64/python3.6/site-packages/dupeguru/qt/app.py", line 22, in <module>
from core.app import AppMode, DupeGuru as DupeGuruModel
File "/usr/lib64/python3.6/site-packages/dupeguru/core/app.py", line 24, in <module>
from . import se, me, pe
File "/usr/lib64/python3.6/site-packages/dupeguru/core/pe/__init__.py", line 1, in <module>
from . import block, cache, exif, iphoto_plist, matchblock, matchexif, photo, prioritize, result_table, scanner # noqa
File "/usr/lib64/python3.6/site-packages/dupeguru/core/pe/block.py", line 9, in <module>
from ._block import NoBlocksError, DifferentBlockCountError, avgdiff, getblocks2 # NOQA
ImportError: /usr/lib64/python3.6/site-packages/dupeguru/core/pe/_block.cpython-36m-x86_64-linux-gnu.so: undefined symbol: min
I have been searching now for a few days with this seemingly the only solution … but it will not run on my Desktop or Laptop (both with 15.2)
Can anybody help me either to sort out the issue with dupeguru and/or suggest and alternative for comparing two image files … regardless of the size or date stamp of the file?
Sure … fdupes does a great job … but my testing realised that it just compares file meta data … file name, time stamp, size etc … but i have a messy situation in which i have duplicated images with different file names, sizes and dates … and so need to compare/match the content somehow.
There is no ‘jdupes’ in my repo listings.
DIff? … i see i have diffutils installed … so will have a look there
Okay … so jdupes does a great job, similar to fdupes!! Both seem to find dupes based on file type, size and date_stamp etc., but for image files which have had name changes, size changes and dates changed both dupe utilities fail to find them.
In the process however i have discovered imgdupes which compares the actual image irrespective of the file name, size or date_stamp, with some initial outstanding results: viz
Of course if the expected dupes have not had their file names, sizes or dates changed, then fdupes and/or jdupes would be the choice to use.
However (think genealogical sites) for various sized, named and dated image files this is exactly what i was looking for!! I am however perplexed as to why it took me 2 days to find it?? … and what search led me to the https://reposhub.com/ site … but AWTEW
PS: For me i needed to install the “Python 3 Development” pattern using YAST and run the the pip installation under root for it to install successfully.