Skip to content

Improved samples/python/tracker.py docstring #25959

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
arvind-iyer:4.x
Aug 7, 2024
Merged

Improved samples/python/tracker.py docstring #25959
asmorkalov merged 2 commits intoopencv:4.xfrom
arvind-iyer:4.x

Conversation

@arvind-iyer
Copy link
Copy Markdown
Contributor

This PR removed unused arguments and updated existing argument placeholders to be more descriptive of what they are.

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

Removed unused arguments, updated existing argument placeholders to be more descriptive of what they are.
@asmorkalov
Copy link
Copy Markdown
Contributor

Run cd /home/ci/opencv
samples/python/tracker.py:17: trailing whitespace.
+    tracker.py [-h] [--input INPUT_VIDEO] 
samples/python/tracker.py:19: trailing whitespace.
+                    [--goturn GOTURN_PROTOTXT] 
samples/python/tracker.py:24: trailing whitespace.
+                    [--nanotrack_backbone NANOTRACK_BACKBONE] 

@asmorkalov asmorkalov self-requested a review August 7, 2024 09:18
@asmorkalov asmorkalov self-assigned this Aug 7, 2024
@asmorkalov asmorkalov merged commit c9df679 into opencv:4.x Aug 7, 2024
fengyuentau pushed a commit to fengyuentau/opencv that referenced this pull request Aug 15, 2024
Improved samples/python/tracker.py docstring opencv#25959

This PR removed unused arguments and updated existing argument placeholders to be more descriptive of what they are.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
@asmorkalov asmorkalov mentioned this pull request Aug 27, 2024
thewoz pushed a commit to CobbsLab/OPENCV that referenced this pull request Feb 13, 2025
Improved samples/python/tracker.py docstring opencv#25959

This PR removed unused arguments and updated existing argument placeholders to be more descriptive of what they are.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] 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
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