logging
This commit is contained in:
parent
961e828adc
commit
128df0cd01
1 changed files with 4 additions and 3 deletions
|
|
@ -29,8 +29,8 @@ class StitchConfig:
|
|||
settle_time: float = 0.75
|
||||
max_scan_time: float = 300.0
|
||||
row_overlap: float = 0.15
|
||||
max_mosaic_width: int = 15000
|
||||
max_mosaic_height: int = 12000
|
||||
max_mosaic_width: int = 4000
|
||||
max_mosaic_height: int = 4000
|
||||
scan_speed_index: int = 3
|
||||
autofocus_every_row: bool = True
|
||||
|
||||
|
|
@ -505,6 +505,7 @@ class StitchingScanner:
|
|||
self.state.current_x = self.state.mosaic_width - w # At right edge
|
||||
elif direction == ScanDirection.LEFT:
|
||||
self.state.current_x = 0
|
||||
self.log(f"Current X offset ({self.state.current_x}px)")
|
||||
|
||||
while self.running and not self.paused:
|
||||
if time.time() - start_time > self.config.max_scan_time:
|
||||
|
|
|
|||
Loading…
Reference in a new issue