Skip to content

Fix OV9281 resolution options when libcamera#2100

Merged
spacey-sooty merged 4 commits intoPhotonVision:mainfrom
spacey-sooty:libcamera-ov9281-res-fix
Nov 26, 2025
Merged

Fix OV9281 resolution options when libcamera#2100
spacey-sooty merged 4 commits intoPhotonVision:mainfrom
spacey-sooty:libcamera-ov9281-res-fix

Conversation

@spacey-sooty
Copy link
Member

@spacey-sooty spacey-sooty commented Sep 17, 2025

Resolves #2087

Values are taken from the datasheet and have been tested on the LL4 (Todo)

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added

@spacey-sooty spacey-sooty requested a review from a team as a code owner September 17, 2025 03:30
@github-actions github-actions bot added the backend Things relating to photon-core and photon-server label Sep 17, 2025
@spacey-sooty spacey-sooty force-pushed the libcamera-ov9281-res-fix branch from 5738f81 to 516cac2 Compare September 17, 2025 03:30
@mcm001
Copy link
Contributor

mcm001 commented Sep 17, 2025

Where do these new magic FPS numbers come from? Is there a data sheet you can link?

@spacey-sooty
Copy link
Member Author

spacey-sooty commented Sep 17, 2025

Where do these new magic FPS numbers come from? Is there a data sheet you can link?

https://www.ovt.com/wp-content/uploads/2022/01/OV9281-OV9282-PB-v1.3-WEB.pdf
Checking against here I got the 640x480 FPS wrong but I believe the others should be correct? I've tested 1280x800 and can test for max FPS at other resolutions later today. Also updated the PR description

@spacey-sooty spacey-sooty force-pushed the libcamera-ov9281-res-fix branch from 516cac2 to d17649f Compare September 17, 2025 03:54
@mcm001
Copy link
Contributor

mcm001 commented Sep 17, 2025

That was more a gentle poke to link that in the code was all :) ty

@spacey-sooty
Copy link
Member Author

Oh yeah I can do that

Resolves PhotonVision#2087

Signed-off-by: Jade Turner <spacey-sooty@proton.me>
Signed-off-by: Jade Turner <spacey-sooty@proton.me>
Signed-off-by: Jade Turner <spacey-sooty@proton.me>
Signed-off-by: Jade Turner <spacey-sooty@proton.me>
@spacey-sooty spacey-sooty force-pushed the libcamera-ov9281-res-fix branch from a0b65dc to 8af0011 Compare November 25, 2025 17:57
@spacey-sooty spacey-sooty merged commit 8c7ca16 into PhotonVision:main Nov 26, 2025
41 checks passed
@spacey-sooty spacey-sooty deleted the libcamera-ov9281-res-fix branch November 26, 2025 17:00
samfreund pushed a commit to samfreund/photonvision that referenced this pull request Dec 18, 2025
Resolves PhotonVision#2087

Values are taken from the
[datasheet](https://www.ovt.com/wp-content/uploads/2022/01/OV9281-OV9282-PB-v1.3-WEB.pdf)
and have been tested on the LL4

Signed-off-by: Jade Turner <spacey-sooty@proton.me>
spacey-sooty added a commit to spacey-sooty/photonvision that referenced this pull request Dec 22, 2025
Resolves PhotonVision#2087

Values are taken from the
[datasheet](https://www.ovt.com/wp-content/uploads/2022/01/OV9281-OV9282-PB-v1.3-WEB.pdf)
and have been tested on the LL4

Signed-off-by: Jade Turner <spacey-sooty@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix OV9281 resolution options when using libcamera

3 participants