Skip to content

Commit 2cf361c

Browse files
committed
checked 19 20
1 parent 1d851da commit 2cf361c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is the example code that accompanies Learning OpenCV 3 by Adrian Kaehler an
88
* ~~In progress June 20, 2017~~
99
* ~~In progress June 22, 2017~~
1010
* ~~In progress July 02, 2017~~
11-
* In progress July 03, 2017
11+
* ~~In progress July 03, 2017~~
1212

1313
**To do:**
1414
* ~~Chapter 15~~
@@ -21,7 +21,7 @@ This is the example code that accompanies Learning OpenCV 3 by Adrian Kaehler an
2121
* ~~Chapter 22~~
2222

2323
Checking Chapters
24-
~~2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,~~ 19, 20, ~~21 22 23~~
24+
~~2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 22 23~~
2525

2626
* Submit associated errata for ~~15 16~~ 17 18 19 20 21 22
2727
* Throw in some bonus material

example_16-02.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
// Example 16-2. 2D Feature detectors and 2D Extra Features framework
2+
//
3+
// Note, while this code is free to use commercially, not all the algorithms are. For example
4+
// sift is patented. If you are going to use this commercially, check out the non-free
5+
// algorithms and secure license to use them.
6+
//
27

38
#include <vector>
49
#include <iostream>
@@ -166,6 +171,7 @@ int main(int argc, char** argv) {
166171
<< "Examples:\n"
167172
<< argv[0] << " surf knn ../box.png ../box_in_scene.png\n"
168173
<< argv[0] << " fastfreak bf ../box.png ../box_in_scene.png\n"
174+
<< "\nNOTE: Not all of these methods are free, check licensing conditions!\n\n"
169175
<< std::endl;
170176
exit(1);
171177
}

example_19-01.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ void help(char *argv[]) {
1010
<< "\nCall:"
1111
<< "\n./example_19-01 <chessboard_width> <chessboard_height> <path/camera_calib_filename> <path/chessboard_image>"
1212
<< "\n\nExample:"
13-
<< "\n./example_19-01 0 0 ../birdseye/intrinsics.xml ../birdseye\n"
13+
<< "\n./example_19-01 12 12 ../birdseye/intrinsics.xml ../birdseye/IMG_0215L.jpg\n"
1414
<< "\nPress 'd' for lower birdseye view, and 'u' for higher (it adjusts the apparent 'Z' height), Esc to exit\n"
1515
<< endl;
1616
}
@@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
115115
// LET THE USER ADJUST THE Z HEIGHT OF THE VIEW
116116
//
117117
cout << "\nPress 'd' for lower birdseye view, and 'u' for higher (it adjusts the apparent 'Z' height), Esc to exit" << endl;
118-
double Z = 25;
118+
double Z = 15;
119119
cv::Mat birds_image;
120120
for (;;) {
121121
// escape key stops

0 commit comments

Comments
 (0)