freemocap / skellycam

The camera back-end for the `freemocap` project - or - An easy and efficient way to connect to one or more cameras and record synchronized videos💀📸
GNU Affero General Public License v3.0
19 stars 5 forks source link

Older Logitech Reading at Reduced Frame Rate #19

Closed mprib closed 1 year ago

mprib commented 1 year ago

Summary

I began using skellycam with a three camera setup prior to working on a synchronizer class. I'm using two different types of webcams:

Additionally, I'm running:

Based on the timestamp diagnostic plots, the older Logitech is reading at a reduced frame rate (not 30 fps...closer to half that).

timestamp_diagnostic_plots

Impact on Synchronizer

This manifests in about half the frames dropping in the synchronized bundles. I wanted to be explicit that this is behavior that I'm seeing associated with my recent PR (which doesn't look great for the PR), but inspection of all the individual frame_times and diagnostic plots appears to confirm to me that this rooted in the frame_payloads coming out of the camera group. image

Next Steps for Me

I'm going to see if I can get faster frame rates reading from this camera on calicam (I know I"m getting drops at higher resolutions, but not sure if it's 50%). If not then I guess it's just a hardware limitation for one cheap webcam. I just wanted to make sure I documented this before it got lost in the shuffle and I'll delete if I can duplicate the limitation on my own code.