ermig1979 / AntiDupl

A program to search similar and defect pictures on the disk
https://ermig1979.github.io/AntiDupl
MIT License
1.23k stars 92 forks source link

Дата съёмки #192

Open Fototagle opened 4 months ago

Fototagle commented 4 months ago

Хотелось бы видеть между файлами разницу в дате съёмки.

NOBB2333 commented 4 months ago

Если вы просто посмотрите на эту информацию, нет никакой необходимости использовать такой тяжелый инструмент, я думаю, что вы можете попробовать использовать exif атрибут для извлечения всех атрибутов, которые могут быть извлечены из файла, включая, но не ограничиваясь, атрибуты, которые Windows может видеть Официальный сайт выглядит следующим образом: https://exiftool.org Распоряжение гласит следующее: ./exiftool-12.78.exe -r -json "C:\Users\hl\OneDrive\工具集合\SciptFloder\exifextract" > 文件属性提取结果.json

 Результат JSON может быть экспортирован для сохранения базы данных напрямую или для преобразования в таблицу с помощью таких инструментов, как Python 

Еще один момент, который следует отметить, заключается в том, что сотни столбцов могут быть экспортированы обратно, и если вы используете базу данных, я рекомендую использовать MongoDB   Еще одна вещь: Windows и Liunx MAC видят разные свойства. 


If you only want to view this information, there is no need to use such a heavyweight tool. I think you can try using the exif file attribute extraction tool, which can extract all the attribute information of the file, including but not limited to the attributes that Windows can see The official website is as follows: https://exiftool.org The command is as follows: ./exiftool-12.78.exe -r -json "C:\Users\hl\OneDrive\工具集合\SciptFloder\exifextract" > 文件属性提取结果.json

It will export a JSON result, which can be directly saved to the database or converted into a table using tools such as Python

Another thing to note is that there may be hundreds of columns exported back. If using a database, I suggest using MongoDB Another thing is that the number of attributes seen by Windows and Liunx MAC seems to be different

heinrichI commented 4 months ago

Какая монга? Тут самодельное хранилише. А отображение Exif я вроде где-то добавлял.