Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@asmorkalov
Copy link
Contributor

@asmorkalov asmorkalov commented Sep 7, 2023

Test for #24180

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 Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the 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

Copy link
Contributor

@mshabunin mshabunin left a comment

Choose a reason for hiding this comment

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

Can this test be moved to the test_v4l2.cpp (which uses vivid device)? It also turns CONVERT_BGR off and checks YUYV format, maybe it should also force change image size to match original scenario?

@mshabunin
Copy link
Contributor

There is a warning on Windows:

C:\build\precommit_windows64\4.x\opencv\modules\videoio\test\test_camera.cpp(241): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [C:\build\precommit_windows64\build\modules\videoio\opencv_test_videoio.vcxproj]

@asmorkalov
Copy link
Contributor Author

@mshabunin I fixed warning and applied your suggestion. Could you take a look the PR and RISC-V CI failure. Looks like it's not related to the PR.

@asmorkalov asmorkalov requested a review from mshabunin October 16, 2023 09:41
Copy link
Contributor

@mshabunin mshabunin left a comment

Choose a reason for hiding this comment

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

Fix for failed RISC-V workflows is here: opencv/ci-gha-workflow#116

I think we can ignore CI failures and merge this PR.

@asmorkalov asmorkalov merged commit 2f63c58 into opencv:4.x Oct 16, 2023
@asmorkalov asmorkalov mentioned this pull request Oct 17, 2023
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.

2 participants