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

MSMF: fixed issue with camera format selection #16721

Merged
merged 1 commit into from
Mar 3, 2020

Conversation

mshabunin
Copy link
Contributor

@mshabunin mshabunin commented Mar 3, 2020

resolves #16711

Default resolution for camera is set to 640x480, if camera supports only greater resolutions, the detection process fails to select them because starting value of 0x0 is considered closer to 640x480 than to e.g. 1920x960.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under OpenCV (BSD) License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@mshabunin mshabunin requested a review from alalek March 3, 2020 15:29
Copy link
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

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

Thank you!

@opencv-pushbot opencv-pushbot merged commit 0b85d0e into opencv:3.4 Mar 3, 2020
@mshabunin mshabunin deleted the fix-msmf-format branch March 3, 2020 19:21
@alalek alalek mentioned this pull request Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSMF can't determine correct format when self-compiling vs using prebuilt binaries
3 participants