projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652606f
)
Fix bug #2590
author
Siva Prasad Varma
<sivapvarma@gmail.com>
Fri, 5 Apr 2013 13:39:09 +0000
(19:09 +0530)
committer
Siva Prasad Varma
<sivapvarma@gmail.com>
Fri, 5 Apr 2013 13:39:09 +0000
(19:09 +0530)
replaced wrong check to correct check
samples/cpp/freak_demo.cpp
patch
|
blob
|
history
diff --git
a/samples/cpp/freak_demo.cpp
b/samples/cpp/freak_demo.cpp
index
60778fd
..
5112eae
100644
(file)
--- a/
samples/cpp/freak_demo.cpp
+++ b/
samples/cpp/freak_demo.cpp
@@
-72,7
+72,7
@@
int main( int argc, char** argv ) {
}
Mat imgB = imread(argv[2], CV_LOAD_IMAGE_GRAYSCALE );
- if( !img
A
.data ) {
+ if( !img
B
.data ) {
std::cout << " --(!) Error reading image " << argv[2] << std::endl;
return -1;
}