Skip to content

fixed tutorial code of py_matcher - #13616

Merged
alalek merged 2 commits into
opencv:3.4from
atinfinity:fixed-py_matcher-tutorial
Jan 13, 2019
Merged

alalek merged 2 commits into
opencv:3.4from
atinfinity:fixed-py_matcher-tutorial

Conversation

@atinfinity

Copy link
Copy Markdown
Contributor

resolves #13615

img1 = cv.imread('box.png',0) # queryImage
img2 = cv.imread('box_in_scene.png',0) # trainImage
img1 = cv.imread('box.png',cv.IMREAD_UNCHANGED) # queryImage
img2 = cv.imread('box_in_scene.png',cv.IMREAD_UNCHANGED) # trainImage

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

0 is IMREAD_GRAYSCALE

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your review. I fixed the mode of imread.

@alalek

This comment has been minimized.

@atinfinity
atinfinity changed the base branch from master to 3.4 January 11, 2019 16:09
@atinfinity
atinfinity force-pushed the fixed-py_matcher-tutorial branch from 274f6bb to 9e4b480 Compare January 11, 2019 16:16
@atinfinity

atinfinity commented Jan 11, 2019 •

Copy link
Copy Markdown
Contributor Author

@alalek

As a "bugfix" this patch should go into 3.4 branch first. We will merge changes from 3.4 into master regularly (weekly/bi-weekly).

In this PR, I changed target branch from master to 3.4.
But, CI job failed. I'll investigate.

@alalek alalek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you 👍

@alalek
alalek merged commit e48682a into opencv:3.4 Jan 13, 2019
@alalek alalek mentioned this pull request Jan 22, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
…rial

* fixed tutorial code of py_matcher

* fixed imread mode
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