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

Data from camera #71

Open
ecartman2208 opened this issue May 18, 2021 · 3 comments
Open

Data from camera #71

ecartman2208 opened this issue May 18, 2021 · 3 comments

Comments

@ecartman2208
Copy link

I would like to record PPG data in sync with an opencv compatible camera. I am streaming at 60 fps from the camera. How can I collect data from both sources simultaneously? Also, is it possible to record data only on a local machine, without access to a router? Thank you.

@aojeda
Copy link

aojeda commented May 18, 2021

For recording from opencv cameras https://bitbucket.org/neatlabs/videoacq/wiki/Home

@ecartman2208
Copy link
Author

Thank you. What if I have a camera which opencv can not directly communicate with rather requires an SDK for acquiring frames?

@aojeda
Copy link

aojeda commented May 19, 2021

The app above is not very modular in the sense that you can't really swap out the opencv code by calls to another sdk, so probably better to start from scratch. Basically, the idea is to capture samples at regular intervals (maybe use a time at 60hz) in a loop and send the frame counter to lsl like I do here.
Hope that helps.

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