Skip to content

Commit

Permalink
add images
Browse files Browse the repository at this point in the history
  • Loading branch information
tuatmcc-public committed Jul 2, 2024
1 parent f0e95f6 commit a481bd2
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Empty file removed src/images/.gitkeep
Empty file.
Binary file added src/images/image_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/image_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/image_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/image_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/image_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/mediapipe_socket/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
from PIL import Image

filenames: List[str] = [
"T-pose.png",
"X-pose.png"
"image_0.png",
"image_1.png"
]


def loadDebugImages() -> List[ndarray]:
images: list[ndarray] = []
for name in filenames:
rawData = Image.open("src/mediapipe_socket/debugImages/{}".format(name))
rawData = Image.open("./src/images/{}".format(name))
rawData = rawData.convert("RGB")
images.append(array(rawData))
return images
Expand Down

0 comments on commit a481bd2

Please sign in to comment.