fixed ref
This commit is contained in:
parent
4e11c851e7
commit
baf0f2a782
1 changed files with 1 additions and 1 deletions
|
|
@ -471,7 +471,7 @@ class StitchingScanner:
|
||||||
|
|
||||||
frame = self._capture_frame()
|
frame = self._capture_frame()
|
||||||
h, w = frame.shape[:2]
|
h, w = frame.shape[:2]
|
||||||
|
total_x = 0
|
||||||
# Setup based on direction
|
# Setup based on direction
|
||||||
if direction in [ScanDirection.RIGHT, ScanDirection.LEFT]:
|
if direction in [ScanDirection.RIGHT, ScanDirection.LEFT]:
|
||||||
threshold_pixels = w * self.config.displacement_threshold
|
threshold_pixels = w * self.config.displacement_threshold
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue