Headless Mode - jeanollion/bacmman GitHub Wiki
- From the Home tab of the GUI generate tasks by: (1) opening a dataset, (2) selecting positions, object classes and tasks to run (3) right-clicking in the Tasks to execute panel and choosing add current task to task list.
- Repeat step 1 with other tasks if necessary
- Save the tasks list to a file by right-clicking in the Tasks to execute panel and choosing Save to file to save all tasks in a single file in order to run them successively. Alternatively, you can choose Split and Save to files in order to generate several files, each one containing all the tasks of a given position. Because in this latter case the tasks are independent, this allows to run them in parallel.
- Run the tasks in headless mode: after installing as a stand-alone application (see install page), run the following command from the
bacmman/bacmman-core/target
directory: (replace<VERSION>
by the actual version and<taskfile.json>
by the path to a .json task file generated in 3):java -cp dependency/*:bacmman-headless-<VERSION>.jar bacmman.ui.ProcessTasks <taskfile.json>