From f7d7858a9ff270380f5407e48d6afaf6a3a97de3 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 26 Feb 2023 14:21:18 -0800 Subject: Begin work on C++ custom chatbox Sort of a misnomer. The idea is to use C++ for transcription and Python for steamvr and OSC. Having issues getting output from multithreaded Python code. Not in the mood to figure this out today. * Hide unimplemented parts of C++ panel. --- Scripts/emotes_v2.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Scripts') diff --git a/Scripts/emotes_v2.py b/Scripts/emotes_v2.py index aaf8d18..a9c037f 100644 --- a/Scripts/emotes_v2.py +++ b/Scripts/emotes_v2.py @@ -47,11 +47,6 @@ def split_resized_image(img, wd: int, ht: int) -> List[Any]: return split_images -print(i_to_pos(0, 5, 10, 10, 20)) -print(i_to_pos(1, 5, 10, 10, 20)) -print(i_to_pos(2, 5, 10, 10, 20)) -print(i_to_pos(3, 5, 10, 10, 20)) - def resize_image_with_aspect_ratio(img: Image, aspect_ratio: float) -> Image: original_width, original_height = img.size new_width = int(original_height * aspect_ratio) -- cgit v1.2.3