Skip to content

Commit 025d0e7

Browse files
author
arch
committed
improve processing speed
1 parent 52ec33f commit 025d0e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

funscript_editor/algorithms/funscriptgenerator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ def get_perspective_roi(self, image :np.ndarray) -> None:
433433
'width': int(self.params.equirectangular_width*self.params.equirectangular_scaling)
434434
}
435435

436+
# NOTE: improve processing speed to make this menu more responsive
436437
if image.shape[0] > 6000 or image.shape[1] > 6000:
437438
image = cv2.resize(image, None, fx=0.25, fy=0.25)
438439

0 commit comments

Comments
 (0)