Skip to content

Fix LaTeX (MathJax) script in the docs#20158

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
hyrodium:fix/latex
May 26, 2021
Merged

Fix LaTeX (MathJax) script in the docs#20158
opencv-pushbot merged 1 commit intoopencv:3.4from
hyrodium:fix/latex

Conversation

@hyrodium
Copy link
Copy Markdown
Contributor

@hyrodium hyrodium commented May 25, 2021

This PR fixes LaTeX script in the document.

For example, we can use \det, \operatorname{trace} instead of det, trace.

image

The screenshot is from Harris Corner Detection.

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 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

Copy link
Copy Markdown
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 for contribution!

This patch should go into 3.4 branch first.
We will merge changes from 3.4 into master regularly (weekly/bi-weekly).

Please:

  • change "base" branch of this PR: master => 3.4 (use "Edit" button near PR title)
  • rebase your commits from master onto 3.4 branch. For example:
    git rebase -i --onto upstream/3.4 upstream/master
    (check list of your commits, save and quit (Esc + "wq" + Enter)
    where upstream is configured by following this GitHub guide and fetched (git fetch upstream).
  • push rebased commits into source branch of your fork (with --force option)

Note: no needs to re-open PR, apply changes "inplace".

determines if a window can contain a corner or not.

\f[R = det(M) - k(trace(M))^2\f]
\f[R = \det(M) - k(\operatorname{trace}(M))^2\f]
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.

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.

Awesome! Thanks for the information!

@hyrodium hyrodium changed the base branch from master to 3.4 May 26, 2021 03:55
@hyrodium
Copy link
Copy Markdown
Contributor Author

hyrodium commented May 26, 2021

Thanks for the detailed instruction! I've updated the target branch and rebased the branch to 3.4.

Copy link
Copy Markdown
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.

Well done 👍

@opencv-pushbot opencv-pushbot merged commit 3e25f32 into opencv:3.4 May 26, 2021
This was referenced May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: documentation Documentation fix or update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants