Feature #175
Multi-camera support
| Status: | New | Start: | 01/27/2009 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
Description
This is a feature we said we'd add to some extent in a next release. Depending on how easy and well the below code works, we might be able to add it very simply into the next release, if not we can wait.
Dave Vondle wrote mult-camera code (I think it only works for 2 cameras right now). Here's his e-mail to me below:
"So the Multi-Cam version of tbeta is done and the new files are attached. I optimized the stitching algorithm so it runs a bit faster now (around 10 ms of delay). I basically shoe-horned this functionality into the existing gui, so you might want to re-think the layout for multi-cam functionality.
If you have the chance to test it and have any ideas for upping the frame rate, let me know. I’m using the hacked macam component, but I still am limited at around 25fps.
The only thing changed in VideoGrabber.cpp is theo’s hack to get the two cameras working:
OSErr err1 = SGSetChannelDevice(gVideoChannel, pascalNameInput);
Best,
Dave"
I'm attaching Dave's camera code where he added multi-cam support. He basically has a section with stitching code and then several lines where he had to pad current video stuff; it's not too much code really so should be simple to test.
