You need to sign in or sign up before continuing.
Commit 091d95f3 authored by Evgeniy Fominov's avatar Evgeniy Fominov
Browse files

Changed fhog calculations from double to float

parent ec750ffe
...@@ -709,7 +709,7 @@ namespace dlib ...@@ -709,7 +709,7 @@ namespace dlib
for (; x < visible_nc; x++) for (; x < visible_nc; x++)
{ {
matrix<float, 2, 1> grad; matrix<float, 2, 1> grad;
float v; float v;
get_gradient(y,x,img,grad,v); get_gradient(y,x,img,grad,v);
// snap to one of 18 orientations // snap to one of 18 orientations
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment