CapPow / HerbASAP

An effort to automate image post processing for natural history collections
GNU General Public License v3.0
8 stars 3 forks source link

Headless operation #16

Open jbest opened 5 years ago

jbest commented 5 years ago

In my situation, it would be ideal to be able to run all the processing functions without a UI on a server, and ideally, in a batch mode rather than constantly monitoring an input folder. It would still be nice to have the UI as a tool to generate the settings used for processing a batch, so a way to export the settings to a JSON file or similar could be used as input parameters for a batch.

CapPow commented 5 years ago

The QSettings module can be used without initiating the GUI elements. The submodules are being written in a portable way, so one solution may be to write an argparse driven CLI which reads the settings. This would allow users to use the GUI to determine settings then use the CLI for batch or automation.