Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add camera parameters for the tutorial#3120

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@AleksandrPanov
Copy link
Contributor

Fixes#3045
For the pose estimation example, the camera parameters are required. To work with examples from the tutorial, default camera parameters were added:

Size imgSize = inputImage.size();cameraMatrix = Mat::eye(3, 3, CV_64FC1);cameraMatrix.at<double>(0, 0) = cameraMatrix.at<double>(1, 1) = 650;cameraMatrix.at<double>(0, 2) = imgSize.width / 2;cameraMatrix.at<double>(1, 2) = imgSize.height / 2;distCoeffs = Mat(5, 1, CV_64FC1, Scalar::all(0));

aruco_tutorial

Pull Request Readiness Checklist

See details athttps://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 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

@AleksandrPanovAleksandrPanov added category: documentationDocumentation fix or update, does not affect code category: samples category: aruco labelsNov 22, 2021
@AleksandrPanovAleksandrPanov self-assigned thisNov 22, 2021
@alalek
Copy link
Member

AleksandrPanov self-assigned this 4 days ago

Assignment to author blocks PR merging.
This means that author wants/needs to do something (it is better to use "convert to draft" for such cases)

@AleksandrPanovAleksandrPanov removed their assignmentNov 26, 2021
@AleksandrPanov
Copy link
ContributorAuthor

AleksandrPanov self-assigned this 4 days ago

Assignment to author blocks PR merging. This means that author wants/needs to do something (it is better to use "convert to draft" for such cases)

Sorry, I didn't know that. In this PR, nothing else needs to be done.

@opencv-pushbotopencv-pushbot merged commit43d8975 intoopencv:4.xNov 26, 2021
@alalekalalek mentioned this pull requestDec 30, 2021
@alalekalalek mentioned this pull requestFeb 22, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alalekalalekalalek approved these changes

Assignees

@alalekalalek

Labels

category: arucocategory: documentationDocumentation fix or update, does not affect codecategory: samples

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

ArUco tutorial should contain camera parameters of example images

3 participants

@AleksandrPanov@alalek@opencv-pushbot

[8]ページ先頭

©2009-2025 Movatter.jp