meantux / GugusseRoller

Software to run the Gugusse Roller, a film-to-digital transfer machine
GNU General Public License v3.0
10 stars 4 forks source link

Add previewSetting.json for size and position of preview window, read… #6

Closed tilllt closed 2 years ago

tilllt commented 4 years ago

… and use settings in manualControl.py and GCamera.py

tilllt commented 4 years ago

You are absolutely right that there is more room for improvement, and actually checking the screen size to do the overlay would be much better. For now I just tried to get rid of having to change the overlay settings in two (hardcoded) places when I download a new version of your code, since the "old" overlay is hard coded in the manualControl and GCamera ... I know extremely little about python programming so if we wanted to do something more complex I probable would need some guidance how to proceed with it.

The other thing I wanted to try is to use camera.annotate_text to move the menu in manualControl and display it over the preview image, to better use my tiny screen (probably it should be "hideable" as well)

tilllt commented 4 years ago

Btw did you see the new libcamera api they released? I think it can be potentially super interesting for our use case in the future, although apparently limited for now: https://libcamera.org/entries/2020-05-05.html

meantux commented 2 years ago

This will be fully addressed in the NEWGUI branch

tilllt commented 2 years ago

Sounds great, looking forward to that version