Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add webcam support for mac #912

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

TheBigSasha
Copy link
Contributor

Add support for MacOS webcams to the new Hardware Devices view.
Screenshot 2023-10-11 at 12 28 59 AM

NOTE:
Needs testing on Windows and Linux in case the installation of pyobjc breaks things there

@TheBigSasha
Copy link
Contributor Author

TheBigSasha commented Oct 11, 2023

Builds in non Mac systems fail, try dynamically installing the pyobjc library?

import pip

def install(package):
    if hasattr(pip, 'main'):
        pip.main(['install', package])
    else:
        pip._internal.main(['install', package])

# Example
if __name__ == '__main__':
    install('argh') ```

@itsjoeoui itsjoeoui changed the base branch from main to develop October 11, 2023 18:11
@itsjoeoui itsjoeoui changed the base branch from develop to main October 25, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants