Commit Graph
16 Commits
Author SHA1 Message Date
Matias De lellis 3e050a4772 Improve travis 2020-04-24 11:40:40 -03:00
Matias De lellis 16d19188c3 Improve travis 2020-04-24 11:10:33 -03:00
Matias De lellis 9d351afd07 Test on tavis. 2020-04-24 10:41:21 -03:00
Matias De lellis ca007e400a Append more information to phpinfo()
If you think it works slow, make sure it is compiled with any of these instructions

> pdlib
>
> PDlib support => enabled
> Pdlib Version => 1.0.2
> DLIB_USE_CUDA => false
> DLIB_USE_BLAS => true
> DLIB_USE_LAPACK => true
> USE_AVX_INSTRUCTIONS => false
> USE_AVX2_INSTRUCTIONS => false
> USE_NEON_INSTRUCTIONS => false
> USE_SSE2_INSTRUCTIONS => true
> USE_SSE4_INSTRUCTIONS => false
2020-04-19 20:27:51 -03:00
Matias De lellis 2b06ea45c4 Improve messages when configure build. 2020-04-19 19:26:22 -03:00
matiasdelellis c9e1015197 Merge pull request #2 from matiasdelellis/dlib_length
Dlib length
2020-04-14 20:05:40 -03:00
Matias De lellis 76da4d9b84 Multiply directly instead of using pow ($number, 2);
This small optimization allows us to improve from:

 OLD php: 0.012100038051605 Sec.
 New native: 0.0096198790073395 Sec.

(This is already 20 percent faster)

..to:
 OLD php: 0.012276937961578 Sec.
 New native: 0.0022540950775146 Sec.

What is 80 percent faster than our PHP class.
2020-04-14 10:45:13 -03:00
Matias De lellis 75adc6f801 Use references as an attempt to optimize. 2020-04-14 10:26:26 -03:00
Matias De lellis 4a2e4ff112 Implement dlib_vector_length to calculate the euclidean distance of the vectors
It not use the 'length' native versions of dlib, due I have to convert the
array to the vector, which will take the same time, and then I will use the
native method.
2020-04-14 09:45:16 -03:00
matiasdelellis 78819eb815 More description 2020-04-13 18:54:24 -03:00
matiasdelellis e69df35435 Explain why the fork 2020-04-13 18:39:48 -03:00
matiasdelellis a5e7cf3535 Move Instalation doc to wiki 2020-04-13 18:33:54 -03:00
matiasdelellis 80f8101e15 Merge pull request #1 from matiasdelellis/improve-hog
Improve hog
2020-04-13 18:23:59 -03:00
Matias De lellis dfd6a952fb upsample_num as references 2020-03-07 12:55:39 -03:00
Matias De lellis cd4e7bcbdf Dont upsamply by default in CNN, and optional argument on fhog for that. 2020-03-07 10:46:12 -03:00
Matias De lellis afc9164127 HOG detector also must return the rectangles of the detections. 2020-02-29 14:04:41 -03:00