Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibration stream resolution, stream resolution warning, divisor 8x #1671

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Juniormunk
Copy link
Contributor

@Juniormunk Juniormunk commented Jan 1, 2025

We are not able to do this with chessboard at this time since we use the framedivisor for decimation. This also adds a warning for resolutions over 320x240. Finally, it adds an 8x divisor.
image
image

also fixes #1501

@Juniormunk Juniormunk requested a review from a team as a code owner January 1, 2025 22:22
@mcm001
Copy link
Contributor

mcm001 commented Jan 1, 2025

You chose to put the warning separate from the drop-down so you don't have to scroll down right? Generally it's good to keep the warning adjacent to the thing it's warning about.

@Juniormunk
Copy link
Contributor Author

Correct. I wanted it to be visible.

@mcm001
Copy link
Contributor

mcm001 commented Jan 1, 2025

I'll defer to others on UX, but Lgtm

const isStreamResolutionTooHigh = computed(() => {
const currentResolution = useCameraSettingsStore().currentVideoFormat.resolution;
const divisor = streamDivisors[useCameraSettingsStore().currentPipelineSettings.streamingFrameDivisor];
return currentResolution.width / divisor > 320 || currentResolution.height / divisor > 240;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did we decide on this upper limit? Vibes? Document the magic numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stream resolution selector empty
2 participants