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

Pulling video from camera #2

Open
jaclynnstubbs opened this issue Aug 22, 2019 · 2 comments
Open

Pulling video from camera #2

jaclynnstubbs opened this issue Aug 22, 2019 · 2 comments

Comments

@jaclynnstubbs
Copy link

When I run your python notebook, I can see all the correct information regarding my camera. But do you have a script that explains how to pull frames/video from the camera?

@cbenhagen
Copy link
Contributor

That notebook wasn't that helpful actually. I added a simple example of how to get a single raw frame: https://github.com/OTTOMATIC-IO/pyphantom/blob/master/examples/get_single_frame.py

To get a color image you would need to debayer, apply white balance etc. A really old and incomplete attempt to implement this in python is here: https://github.com/OTTOMATIC-IO/pycine/blob/master/pycine/color.py

For internal use I implemented a python wrapper for the demo C implementation from Vision Research. It would be nice to either fully port this to Python or to be able to release the full code.

The corresponding issue in pycine is here: ottomatic-io/pycine#2

@cbenhagen
Copy link
Contributor

Over time we hope to release more and more of our internal stuff to make this easier. If you need quick access to the clips on your cam today, please consider to use our virtual file system PHANTOMfuse:
https://ottomatic.io/o/phantomfuse/

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

No branches or pull requests

2 participants