inspirit / PS3EYEDriver

PS3EYE Camera Driver for OSX and Windows
Other
316 stars 92 forks source link

Recording from multiple cameras #55

Open Dene33 opened 5 years ago

Dene33 commented 5 years ago

Is there any way of recording video from multiple cameras using that driver?

colejd commented 5 years ago

See the setup function here: https://github.com/inspirit/PS3EYEDriver/blob/master/openframeworks/testApp.cpp

eye = devices.at(0) creates an object for polling the camera data from the camera at index 0. If you want two cameras, just make another one at index 1. The devices array should hold an entry for each camera you have attached.

PhuDoTuong commented 3 years ago

I am trying to modify https://github.com/inspirit/PS3EYEDriver/blob/master/sdl/main.cpp by following https://putuyuwono.wordpress.com/2015/05/29/multi-thread-multi-camera-capture-using-opencv/?unapproved=1881&moderation-hash=48dec3495949bd6f59de5f18ce7a8548#comment-1881