Vishwa Prakash H V
6b4fcd5f73
Avoiding Divide By Zero Error
...
In line 104 `if ( full_neg_lst[i].cols >= box.width && full_neg_lst[i].rows >= box.height )` removed '=' as it causes divide By Zero Error in line 106 and 107 `box.x = rand() % ( full_neg_lst[i].cols - size_x );` when full_neg_lst[i].cols = size_x or full_neg_lst[i].rows - size_y
7 years ago
Alexander Alekhin
7f9253ea0a
samples: avoid using of legacy C-like API
...
- CV_RGB() macro is moved into opencv2/imgproc.hpp from imgproc_c.h
- samples/cpp/filestorage_base64.cpp is dropped
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Suleyman TURKMEN
2aa380752c
Update train_HOG.cpp
7 years ago
Suleyman TURKMEN
f6daaccccf
Update train_HOG.cpp
7 years ago
ValeryTyumen
297808e6b9
Feature #3957
9 years ago
LorenaGdL
b21b24fd8a
Update train_HOG.cpp
...
Incorrect number of input arguments in main function
10 years ago
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Vadim Pisarevsky
c20ff6ce19
made everything compile and even run somehow
10 years ago
Roman Donchenko
6a511755b2
Fixed build for samples/cpp/train_HOG.cpp.
...
get_hogdescriptor_visu is passed img->clone(), which is not usable
as a non-const reference (and it doesn't modify the argument, anyway).
11 years ago
Mathieu Barnachon
089b8e2f4a
Suppress a space!
11 years ago
Mathieu Barnachon
e015691b41
Fix warnings as errors.
11 years ago
Mathieu Barnachon
e1955759af
Fix some warning.
...
Adding missing credit for a function.
11 years ago
Mathieu Barnachon
a4ceb7b6ee
Fix compilation issues.
11 years ago
Mathieu Barnachon
0934344a3d
Update sample and code with external computation of HOG detector.
11 years ago
Mathieu Barnachon
2fe340bf8a
adding sample to train HOG and compare it with default people detector.
11 years ago