Finished an installation script that downloads the necessary packages via pip if the user doesn’t already have them. It shouldn’t be too necessary because the packages will already be bundled in since I plan to use pyinstaller when I ship it, but it’s nice to have if some users prefer to run the code themselves or make their own modifications. There is a bit of a bug though: since this program needs both opencv-python and mediapipe, which itself needs opencv-contrib-python, there are two packages that share the ‘cv2’ namespace. This isn’t an issue if you have both, but if the user only has one of the two packages the program will fail because it expected both to be functional, but won’t catch why it failed because all it sees is that it was able to import cv2. Not sure how I’m going to fix that, but for 90% of people who use this it shouldn’t be of much concern.
Also the reason you can’t see my camera this time is because I’ve turned off the show feed flag, it kept getting in my way for testing. However, you can see via the “camera is active” notification that it did turn on.
Comments 2
peak bro keep going!!
cool project twin!!! keep going!
Sign in to join the conversation.