Batch processing in the command line
Posted: 05.08.2025 19:16
In another thread from 10 years ago viewtopic.php?p=19603&hilit=massive+batch#p19603
It was mentioned that "We might add an advanced batch processing command line support later, but for now you can write a script to iterate over a set of folders and invoke Focus for each of them one by one."
I’m using a robot to capture images of parts, and each stacking task is sent to the command line. However, every time a new command is executed, the command-line window forcibly takes focus of the screen. This interrupts whatever else I’m doing on the computer—for example, typing in a document or using a browser—because the focus shifts away from my current application to the command-line window. This repeated interruption makes it extremely difficult to multitask or use the computer productively while the robot is running.
I really need a way to complete focus stacking jobs in the background somehow. I am using python to run the robot and camera.
Any ideas?
It was mentioned that "We might add an advanced batch processing command line support later, but for now you can write a script to iterate over a set of folders and invoke Focus for each of them one by one."
I’m using a robot to capture images of parts, and each stacking task is sent to the command line. However, every time a new command is executed, the command-line window forcibly takes focus of the screen. This interrupts whatever else I’m doing on the computer—for example, typing in a document or using a browser—because the focus shifts away from my current application to the command-line window. This repeated interruption makes it extremely difficult to multitask or use the computer productively while the robot is running.
I really need a way to complete focus stacking jobs in the background somehow. I am using python to run the robot and camera.
Any ideas?