Skip to content

Extend optical flow tutorial - #14314

Merged
alalek merged 7 commits into
opencv:3.4from
mehlukas:3.4-opticalflow
May 15, 2019
Merged

alalek merged 7 commits into
opencv:3.4from
mehlukas:3.4-opticalflow

Conversation

@mehlukas

@mehlukas mehlukas commented Apr 12, 2019 •

Copy link
Copy Markdown
Contributor

Use the python optical flow tutorial as a base to create a general optical flow tutorial. This is done according to the Document improvement plan and the discussion in #9520.
I tried to create a similar result as in the background subtraction tutorial.

This pullrequest changes

  • extract python example code from python tutorial on optical flow into the proper subfolder in samples
  • add C++ example code
  • add tutorial to the common tutorial folder with python and C++ code examples that can be toggled.

Documentation link.

force_builders=linux,windows,mac,docs
test_modules=none
build_contrib:Win64=OFF
build_contrib:Win64 OpenCL=OFF

@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 for contribution!

mehlukas added a commit to mehlukas/opencv that referenced this pull request May 2, 2019

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

@mehlukas Thank you!

@alalek
alalek merged commit 6bff0e2 into opencv:3.4 May 15, 2019
@alalek alalek mentioned this pull request May 15, 2019
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Extend meanshift tutorial (opencv#14393)

* copy original tutorial and python code

* add cpp code, fix python code

* add camshift cpp code, fix bug in meanshift code

* add description to ToC page

* fix shadowing previous local declaration

* fix grammar: with -> within

* docs: remove content of old py_meanshift tutorial, add link

* docs: replace meanshift tutorial subpage in Python tutorials

* switch to ref to fix wrong breadcrumb navigation

* switch to cmdline for path as in opencv#14314

* Apply suggestions from code review

* order programming languages alphabetically
SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Extend optical flow tutorial (opencv#14314)

* extend python optical flow tutorial with cpp example code and add it to general tutorial directory

* remove unused parameters, fix comparison between signed and unsigned int

* fix hsv range problem

* switch to samples::findFile for sample file location

* switch to command line parameter for path

* remove old tutorial as in 14393

* minor fixes
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.

3 participants