Skip to content

Commit 328b1b1

Browse files
authored
Merge pull request #3771 from kaingwade:refine_ml_doc
Correct some links in the tutorials #3771 ### 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 - [x] 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
1 parent 1af0092 commit 328b1b1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

modules/ml/tutorials/cpp_ml/introduction_to_svm/introduction_to_svm.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,23 @@ Source Code
105105

106106
@add_toggle_cpp
107107
- **Downloadable code**: Click
108-
[here](https://github.com/opencv/opencv/tree/5.x/samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp)
108+
[here](https://github.com/opencv/opencv_contrib/tree/5.x/modules/ml/samples/introduction_to_svm.cpp)
109109

110110
- **Code at glance:**
111111
@include samples/introduction_to_svm.cpp
112112
@end_toggle
113113

114114
@add_toggle_java
115115
- **Downloadable code**: Click
116-
[here](https://github.com/opencv/opencv/tree/5.x/samples/java/tutorial_code/ml/introduction_to_svm/IntroductionToSVMDemo.java)
116+
[here](https://github.com/opencv/opencv_contrib/tree/5.x/modules/ml/samples/java/tutorial_code/ml/introduction_to_svm/IntroductionToSVMDemo.java)
117117

118118
- **Code at glance:**
119119
@include samples/java/tutorial_code/ml/introduction_to_svm/IntroductionToSVMDemo.java
120120
@end_toggle
121121

122122
@add_toggle_python
123123
- **Downloadable code**: Click
124-
[here](https://github.com/opencv/opencv/tree/5.x/samples/python/tutorial_code/ml/introduction_to_svm/introduction_to_svm.py)
124+
[here](https://github.com/opencv/opencv_contrib/tree/5.x/modules/ml/samples/python/tutorial_code/ml/introduction_to_svm/introduction_to_svm.py)
125125

126126
- **Code at glance:**
127127
@include samples/python/tutorial_code/ml/introduction_to_svm/introduction_to_svm.py

modules/ml/tutorials/cpp_ml/non_linear_svms/non_linear_svms.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ account these rules:
9595
Source Code
9696
-----------
9797

98-
You may also find the source code in `samples/cpp/tutorial_code/ml/non_linear_svms` folder of the OpenCV source library or
99-
[download it from here](https://github.com/opencv/opencv/tree/5.x/samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp).
98+
You may also find the source code in `ml/samples` folder of the OpenCV source library or
99+
[download it from here](https://github.com/opencv/opencv_contrib/tree/5.x/modules/ml/samples).
100100

101101
@add_toggle_cpp
102102
- **Downloadable code**: Click
@@ -108,15 +108,15 @@ You may also find the source code in `samples/cpp/tutorial_code/ml/non_linear_sv
108108

109109
@add_toggle_java
110110
- **Downloadable code**: Click
111-
[here](https://github.com/opencv/opencv/tree/5.x/samples/java/tutorial_code/ml/non_linear_svms/NonLinearSVMsDemo.java)
111+
[here](https://github.com/opencv/opencv_contrib/tree/5.x/modules/ml/samples/java/tutorial_code/ml/non_linear_svms/NonLinearSVMsDemo.java)
112112

113113
- **Code at glance:**
114114
@include samples/java/tutorial_code/ml/non_linear_svms/NonLinearSVMsDemo.java
115115
@end_toggle
116116

117117
@add_toggle_python
118118
- **Downloadable code**: Click
119-
[here](https://github.com/opencv/opencv/tree/5.x/samples/python/tutorial_code/ml/non_linear_svms/non_linear_svms.py)
119+
[here](https://github.com/opencv/opencv_contrib/tree/5.x/modules/ml/samples/python/tutorial_code/ml/non_linear_svms/non_linear_svms.py)
120120

121121
- **Code at glance:**
122122
@include samples/python/tutorial_code/ml/non_linear_svms/non_linear_svms.py

0 commit comments

Comments
 (0)