Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[announcement] csv2exif repository is online #248

Open
mrtngrsbch opened this issue Jun 11, 2022 · 14 comments
Open

[announcement] csv2exif repository is online #248

mrtngrsbch opened this issue Jun 11, 2022 · 14 comments

Comments

@mrtngrsbch
Copy link
Contributor

mrtngrsbch commented Jun 11, 2022

Hi,

I am pleased to announce that I have published the script 'csv2exif' [https://github.com/MuseosAbiertos/csv2exif].
'csv2exif' records metadata on images (ex. jpg) from a normalized CSV using VRAE, ISADG & Dublin Core standards.

feedback welcome

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 11, 2022

Very nice.
When running the csv-demo on the images-demo folder, I get quite some errors like [!] Row "126": File not found in this path: "AR-MA-Bruzzone-Bianchic-Zaffaroni-Nailture-3-1284-00.jpg".
The image is indeed not found, but the script nicely continues.
For the rest it seems to work fine, but I am not an VRAE, ISADG & Dublin Core expert.

@mrtngrsbch
Copy link
Contributor Author

mrtngrsbch commented Jun 11, 2022

You will indeed see a lot of errors, which is normal because not all images are available for you to see the errors.

The log is very detailed and also records a 'success_log' and 'error_log'.
Thanks for testing it. As you can see, you can adapt it too many standards; in the 'maps.json' file you can configure the data mapping.

This tool is very useful when you deal with a lot of files. In the case of demo there are 2000, but locally I have up to 14.000 !

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 11, 2022

Are you planning a UI "in front" of it?

@mrtngrsbch
Copy link
Contributor Author

Sincerely, the tool has such a simple interface that I hadn't thought about it, besides my budget was devastated with the UST crash.
I am also making other tools, such as [https://github.com/MuseosAbiertos/docx2csv].

Can you think of anything ?

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 12, 2022

Your budget?
Did you write it or some python programmer?

PySimpleGUI is an easy to make UI but misses some high-end features, which is not necessary currently for your app. I discovered it 2-3 months ago. It is what I used for my latest PyImageFuser.
After I finished my 1 year work project, I was not motivated yet to continue with jExifToolGUI, but I wanted to do "something different", so I decided to go back in time and rewrite my old ImageFuser in python with PySimpleGui.
If PySimpleGUI had existed by the time I gave up on PyExifToolGUI as PySide was almost dead, then jExifToolGUI would not have existed but I would have rewritten PyExifToolGUI in python/pysimplegui. Next to that: also PySide has come to life again and is also supported by PySimpleGUI.

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 12, 2022

With PySimpleGUI you could create something like this. I created this in 10 minutes, but I did not create the actions yet and I did not add the output window yet to show the progress.
Screenshot 2022-06-12 10 43 30

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 12, 2022

This is now the most simple version possible.
No error checking yet (only if csv or jpg folder is missing).
No file mask yet (only .csv).
Optional arguments to defaults.
To be started with python3 gcsv2exif.py (gcsv2exif.py for gui version of csv2exif.py)
Can be made to an executable version for MacOS, Linux and Windows (But I did absolutely nothing in that direction)

gcsv2exif.mp4

It still misses the very first and last texts written to console, but than can be corrected as well.
And the full console output and logs are still there.

@mrtngrsbch
Copy link
Contributor Author

Yes, a python programmer, for three reasons; I'm not good at programming yet, I'm still learning python, I have several simultaneous projects, like you.

So my main task is, at the moment, to create the program and requirements, to document well and to be a good owner. All this is to create a stack of tools for collection management and my proposal for a "lightweight" Digital Asset Management to be visualized in Notion. ex.: [https://martingggg.notion.site/cba074312276413cae988fda23e2580c?v=7d4341458cfb4aa39f0e38b57e8948e5]

OMG, PyImageFuser is very interesting ! I will try it later with my images. I have a Fujifilm x100s, but I use a lot my OnePlus which takes RAW photos and has HDR.
https://martin.gersbach.net/

True, when you changed Python to Java I wondered why you did it. That was a lot of effort. I've been looking into Python GUIs and PySimpleGUI is my favorite. Indeed I have to dedicate more time to my studies.

Heh... you have already created in a few minutes a GUI of csv2exif ! That sounds incredible. Do you plan to make your own repository or do you want to make a merge with csv2exif?

I am always very grateful for your help with these topics.

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 12, 2022

Heh... you have already created in a few minutes a GUI of csv2exif ! That sounds incredible. Do you plan to make your own repository or do you want to make a merge with csv2exif?

I am always very grateful for your help with these topics.

I already forked your repo and will do some further additions and make it a pull request to your repository. The gui was created in 10-15 minutes. I kept the gui code separate from the programming code (apart from the progress window updates of course). Then making it work with the original scripts took about 1½ hours. Your python programmer is a really an Object Oriented programmer. Being old it takes some time for me to adapt ;)

@mrtngrsbch
Copy link
Contributor Author

cool...
"If you think you are smarter than previous generations, remember that 50 years ago the car owner's manual indicated how to regulate the valves, today it warns you not to ingest the battery fluid."

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 12, 2022

I just created a pull request.
I also updated the README and corrected it for official "2 space" line endings as markdown wants it.

EDIT: I made another change by removing all those (hidden) macos .DS_Store files. It is complete rubbish on every non-macos system and is not necessary either for MacOS. It is only cached directory listing/metadata.

@mrtngrsbch
Copy link
Contributor Author

mrtngrsbch commented Jun 12, 2022

1st issue ;-)
MuseosAbiertos/Museum-Metadata-Embedder#2

  • pip3 install PySimpleGUI

@mrtngrsbch
Copy link
Contributor Author

Just happy ;-)

ScreenShot 2022-06-12 a las 13 22 39

@hvdwolf
Copy link
Owner

hvdwolf commented Jun 12, 2022

1st issue ;-) MuseosAbiertos/csv2exif#2

  • pip3 install PySimpleGUI

That's why I updated the README with the section "requirements"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants