reuterbal / photobooth

A flexible photobooth software
GNU Affero General Public License v3.0
317 stars 158 forks source link

Email Option and Gallery? #75

Open raspblu opened 5 years ago

raspblu commented 5 years ago

Actually, I wanted to further clarify this question. I am planning on using your software for a wedding upcoming. I was wondering if it is possible implement some additional features? I'm looking to specifically add in logo over the photo using a batch convert script from ImageMagick (I'm clueless on how to integrate with your code), secondly to resize the the pictures within each 4x6 sheet (i.e. One large picture and 2 small ones). I know adding in email and gallery is probably too much, but would it be possible for you to help me integrate the resizing and watermark overlay before the wedding? thank you!

reuterbal commented 5 years ago

The software is written such that it is relatively simple to add additional postprocessing tasks. Simply add another class derived from WorkerTask in photobooth/worker/__init__.py, similarly to PictureSaverthat implements the desired actions and enable them in Worker in the same file.

MarioJanssen27 commented 5 years ago

Hello,

wie weit ist das standalone network mit der Gallerie? Wo kann man helfen?

oelegeirnaert commented 5 years ago

Hi, currently working on a webserver to be able to make a gallery: https://github.com/oelegeirnaert/photobooth/tree/webserver/photobooth/webserver

raspblu commented 5 years ago

that's great news! I will definitely keep watching for your update! Since my original question, I was able to create a script via imagemagick that stitches the individual shots into another layout composition (1 big, and 2 small), but it runs separately using chron, as I don't know how to integrate it with pyQT. For the gallery, I have been using rclone to basically upload the pictures onto the cloud, and use the service's gallery options there

reuterbal commented 5 years ago

Hi @oelegeirnaert that looks very promising. Let me know if you need to know anything in order to integrate it!

MarioJanssen27 commented 5 years ago

Can a standalone network with a gallery be operated with the project?


in deutsch

Kann man mit dem Projekt auch ein Standalone Netzwerk mit einer Gallerie betreiben?

oelegeirnaert commented 5 years ago

Yes, you'll need to create an AP from your RPI. You'll certainly find some tutorials for that. Everything is going fine but enhancements needs to be done:

From the webinterface which is standard under: localhost:9090 You'll be able to perform the following tasks:

To be done:

https://github.com/oelegeirnaert/photobooth

hotdogreen commented 5 years ago

Well ... I’m not very pro with these things. Do i need to install the software again or can I just copy paste your additional files to make the gallery happen?! (Sorry)

oelegeirnaert commented 5 years ago

I just did some changes in my code.

MarioJanssen27 commented 5 years ago

I cannot start the Phothbooth from (https://github.com/oelegeirnaert/photobooth). What am I doing wrong?

I get the following error message:

Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.5/runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details import(pkg_name) File "/home/pi/photobooth/photobooth/init.py", line 21, in from .main import main File "/home/pi/photobooth/photobooth/main.py", line 40, in from .webserver import Webserver File "/home/pi/photobooth/photobooth/webserver/init.py", line 4, in from simple_http_server import request_map ImportError: No module named 'simple_http_server'

oelegeirnaert commented 5 years ago

Indeed, you should create issues on my fork, if everything is finnished, we can merge again :-) But to answer your questions, you need to install the http_server via PIP.

pip install simple_http_server Another thing... I've changed the startup params so that the gui wasn't showing all the time while developing. So you beter start it like this:

python -m photobooth --debug -w --gui I should change this that the GUI is popping up by default.

Enjoy!

Kr, Oele Geirnaert

serpentes80 commented 5 years ago

@oelegeirnaert not so easy to create an issue on your fork ;-) there's no "issue" tab :-P

btw: tested the latest version yesterday and the website doesn't show anything. Neither pictures nor qr code or anything

hotdogreen commented 5 years ago

Not able to get it running, either 👀

oelegeirnaert commented 5 years ago

Just enabled it so you can create your issue there. Don't forget to add a log file.