Skip to content

Increase resolution of camera lost frame#2418

Open
Gold856 wants to merge 1 commit into
PhotonVision:mainfrom
Gold856:upscale-camera-lost-frame
Open

Increase resolution of camera lost frame#2418
Gold856 wants to merge 1 commit into
PhotonVision:mainfrom
Gold856:upscale-camera-lost-frame

Conversation

@Gold856

@Gold856 Gold856 commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Description

The current Camera Lost image is rather low resolution and pixelated, corrupting the shape of the text, and JPEG compression also smudges all the text, making it somewhat hard to read (and not very appealing to look at either). Doubling the resolution removes most of the smudging from JPEG artifacts, and gives enough pixels for the text to be shaped correctly, with the end result being much easier to read and nicer to look at. Bandwidth increases from ~0.08 Mbit/s to ~0.18 Mbit/s, which is likely acceptable for this use case.

image image

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why, including events that led to this PR
  • 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 all settings going back to the previous seasons's last release (seasons end after champs ends)
  • 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
  • If this PR adds a dependency, the license has been checked for compatibility and steps taken to follow it

@Gold856 Gold856 requested a review from a team as a code owner March 30, 2026 01:01
@github-actions github-actions Bot added the backend Things relating to photon-core and photon-server label Mar 30, 2026
@mcm001

mcm001 commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

I'll also note another option we have while we're stuck on MJPG is to increase the stream quality. But cscore lets clients chose quality anyways

@Gold856

Gold856 commented Mar 30, 2026

Copy link
Copy Markdown
Contributor Author

JPEG quality increases don't fix the text being misshapen:

image

That's with quality 100. All the curves are not very smooth.

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.

2 participants