Skip to content

Commit

Permalink
Changes:
Browse files Browse the repository at this point in the history
reverted back to old engine because of animation issues (#2)
OBS browser source and remote browser source
Remade animations (WIP)
Noise reduction
Control via Websockets
Face tracking via camera(experimental)
Shadows and filters per asset
Better interface
  • Loading branch information
Gemmstone committed Aug 13, 2024
1 parent 418aa74 commit 990c9d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
11 changes: 1 addition & 10 deletions Core/Viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,18 +472,9 @@ def update_thread(
f"rgba{color if '#' not in color else '(0, 0, 0, 255)'});"
)

path_webp = os.path.basename(layer['route'])
path_webp, uncompressed_extension = os.path.splitext(path_webp)
path_webp = os.path.join(os.path.dirname(layer['route']), "webp", path_webp + ".webp")
path_webp = str(os.path.join(self.res_dir, path_webp)).replace("\\", "/")
if not os.path.isfile(path_webp):
path_webp = str(os.path.join(self.res_dir, layer["route"]))
# print(path_webp)

img_tag = soup.new_tag(
'img',
src=f"{path_webp}",
# type="image/webp",
src=f"{layer['route']}",
style=f"""
position: absolute !important;
left: calc(50% + {layer['posX']}px);
Expand Down
6 changes: 0 additions & 6 deletions Core/imageGallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,6 @@ def create_thumbnail(self, input_path, max_size=(50, 50), quality=90, custom_nam
os.makedirs(webp_folder, exist_ok=True)

uncompressed_file, uncompressed_extension = os.path.splitext(file_name)
webp_path = os.path.join(webp_folder, uncompressed_file + ".webp")
if not os.path.exists(webp_path) and "gif" not in extension.lower() and "svg" not in extension.lower():
image = Image.open(input_path)
image = image.convert('RGBA')
image.save(webp_path, 'webp', optimize=True, quality=85, save_all=True)
print(webp_path)

if os.path.exists(thumbnail_path):
return QIcon(thumbnail_path)
Expand Down
8 changes: 5 additions & 3 deletions UI/audioMonitor.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>267</width>
<height>215</height>
<height>155</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -112,8 +112,10 @@
<string notr="true">color: rgb(255, 0, 4);</string>
</property>
<property name="text">
<string>This mic has some
unidentified problems</string>
<string>This mic has some unidentified problems</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
Expand Down

0 comments on commit 990c9d7

Please sign in to comment.