-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
MacOS webcam capture #1231
Comments
Hopefully we can use the same code for enumerating video devices on osx. (see #1113#comment:4) The same code can probably be used to capture the whole desktop on win32: DirectShow and may help with #389. |
Alternatively, we may be able to the same thing using pyobjc: |
2018-02-01 14:36:26: antoine uploaded file
|
The macos capture script above is based on How can I capture iSight frames with Python in Snow Leopard?. It works.. just not on my dev VM (light comes on, but frames never arrive), so I have to ssh to the mac mini to test it. Still TODO:
Note: the py2app packaging for For win32: See also #1627 |
2018-02-04 08:08:41: antoine uploaded file
|
The patch above removes all the dependencies we don't need from the opencv MSYS2 package build, saving around 80MB of disk space. This should make things less brittle too: the opencv package seems to break very regularly in MSYS2 due to the huge amount of dependencies it has and because of the way the module loads them all - they would need to rebuild the package every time a dependency is updated. Only problem is that the 32-bit version crashes hard, even the simple |
2018-02-04 15:08:43: antoine uploaded file
|
We now build The webcam port to Once that's fixed, we'll need to to parse the |
pyobjc has moved to github: https://github.com/ronaldoussoren/pyobjc/ |
A native port should solve #1113 on OSX (also blocked by #840) and will allow us to improve platform support and remove the dependency on opencv.
Also remove the hard-coded csc dependency.
The text was updated successfully, but these errors were encountered: