mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
fixed surf for upright case
This commit is contained in:
parent
cf92e4b4e0
commit
fdfa402428
@ -615,7 +615,7 @@ struct SURFInvoker
|
||||
continue;
|
||||
}
|
||||
|
||||
float descriptor_dir = 90.f;
|
||||
float descriptor_dir = 360.f - 90.f;
|
||||
if (upright == 0)
|
||||
{
|
||||
resizeHaarPattern( dx_s, dx_t, NX, 4, grad_wav_size, sum->cols );
|
||||
|
Loading…
Reference in New Issue
Block a user