Skip to content

usbif_webcam.py: count the frame rate from the first frame a host takes - #91

Merged
bdbarnett merged 1 commit into
mainfrom
webcam-fps-from-first-frame
Oct 13, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
webcam-fps-from-first-frame

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The example started its rate timer when the costume was set, so the time before a host opened the camera counted too: it printed about 2 fps while the host was receiving about 50. The rate now starts at the first frame a host takes, and again each time a host opens the camera.

@bdbarnett
bdbarnett merged commit f87f164 into main Oct 13, 2026
6 checks passed
@bdbarnett
bdbarnett deleted the webcam-fps-from-first-frame branch October 13, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant