Skip to content

Commit

Permalink
checked 19 20
Browse files Browse the repository at this point in the history
  • Loading branch information
garybradski committed Jul 7, 2017
1 parent 1d851da commit 2cf361c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the example code that accompanies Learning OpenCV 3 by Adrian Kaehler an
* ~~In progress June 20, 2017~~
* ~~In progress June 22, 2017~~
* ~~In progress July 02, 2017~~
* In progress July 03, 2017
* ~~In progress July 03, 2017~~

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

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

* Submit associated errata for ~~15 16~~ 17 18 19 20 21 22
* Throw in some bonus material
Expand Down
6 changes: 6 additions & 0 deletions example_16-02.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// Example 16-2. 2D Feature detectors and 2D Extra Features framework
//
// Note, while this code is free to use commercially, not all the algorithms are. For example
// sift is patented. If you are going to use this commercially, check out the non-free
// algorithms and secure license to use them.
//

#include <vector>
#include <iostream>
Expand Down Expand Up @@ -166,6 +171,7 @@ int main(int argc, char** argv) {
<< "Examples:\n"
<< argv[0] << " surf knn ../box.png ../box_in_scene.png\n"
<< argv[0] << " fastfreak bf ../box.png ../box_in_scene.png\n"
<< "\nNOTE: Not all of these methods are free, check licensing conditions!\n\n"
<< std::endl;
exit(1);
}
Expand Down
4 changes: 2 additions & 2 deletions example_19-01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void help(char *argv[]) {
<< "\nCall:"
<< "\n./example_19-01 <chessboard_width> <chessboard_height> <path/camera_calib_filename> <path/chessboard_image>"
<< "\n\nExample:"
<< "\n./example_19-01 0 0 ../birdseye/intrinsics.xml ../birdseye\n"
<< "\n./example_19-01 12 12 ../birdseye/intrinsics.xml ../birdseye/IMG_0215L.jpg\n"
<< "\nPress 'd' for lower birdseye view, and 'u' for higher (it adjusts the apparent 'Z' height), Esc to exit\n"
<< endl;
}
Expand Down Expand Up @@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
// LET THE USER ADJUST THE Z HEIGHT OF THE VIEW
//
cout << "\nPress 'd' for lower birdseye view, and 'u' for higher (it adjusts the apparent 'Z' height), Esc to exit" << endl;
double Z = 25;
double Z = 15;
cv::Mat birds_image;
for (;;) {
// escape key stops
Expand Down

0 comments on commit 2cf361c

Please sign in to comment.