eextend green for test

This commit is contained in:
2ManyProjects 2026-01-17 12:48:00 -06:00
parent 553afb6fe1
commit d0180d8985

View file

@ -696,7 +696,7 @@ class StitchingScanner:
# ========== DEBUG: Draw borders BEFORE placing strip ========== # ========== DEBUG: Draw borders BEFORE placing strip ==========
# RED border: Where strip WOULD have been placed (original position) # RED border: Where strip WOULD have been placed (original position)
orig_x_end = min(original_x_offset - (w_strip * 2), w_base) orig_x_end = min(original_x_offset - w_strip, w_base)
orig_y_end = min(original_y_offset + h_strip, h_base) orig_y_end = min(original_y_offset + h_strip, h_base)
if original_x_offset >= 0 and original_y_offset >= 0: if original_x_offset >= 0 and original_y_offset >= 0:
cv2.rectangle(result, cv2.rectangle(result,
@ -713,7 +713,7 @@ class StitchingScanner:
self.log(f" Step 1: Placed non-blend at X={strip_x_start}:{strip_x_start + non_blend_end}") self.log(f" Step 1: Placed non-blend at X={strip_x_start}:{strip_x_start + non_blend_end}")
# Step 2: Create blend on the RIGHT edge of strip (blending with existing content) # Step 2: Create blend on the RIGHT edge of strip (blending with existing content)
blend_x_start = strip_x_end - blend_w blend_x_start = strip_x_end - (blend_w * 2)
blend_x_end = strip_x_end blend_x_end = strip_x_end
if blend_w > 0 and blend_x_start >= strip_x_start: if blend_w > 0 and blend_x_start >= strip_x_start: