Closed seanavery closed 1 year ago
@edaniels @bazile-clyde Tagging for review.
@edaniels Added tests.
Patch coverage: 19.14
% and project coverage change: +0.19
:tada:
Comparison is base (
8748614
) 58.83% compared to head (92b6f82
) 59.02%.:exclamation: Current head 92b6f82 differs from pull request most recent head 4a1bdfe. Consider uploading reports for the commit 4a1bdfe to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Cleaning up git history in preparation for merge.
Description
This PR allows for retrieving and setting FPS properties on Linux cameras. Like FrameSize,
Discrete
andStepwise
FrameRate returns are supported.A simple check is added in the
fitness
function to avoid adding fps comparisons on MacOS and Screen drivers.Implementation depends on this blackjack/webcam PR.
Update: fps pr for blackjack/webcam has been merged!
Testing
Manual tests
Make sure there are no regressions across platforms (fitness distance is not affected).
Go tests
float
andFrameRate
matching inprop_test.go
. Includes cases where FPS is not available.calcFramerate
incamera_linux_test.go
.