]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/log
hercules2020/kcf.git
5 years agoAdded support for std::async and OpenMP
Shanigen [Wed, 1 Aug 2018 09:34:39 +0000 (11:34 +0200)]
Added support for std::async and OpenMP

Added support for std::async and OpenMP. All parallel and
single threaded options only works with OpenCV currently.

5 years agoRemoved memory allocation in tracker update
Shanigen [Wed, 1 Aug 2018 08:51:08 +0000 (10:51 +0200)]
Removed memory allocation in tracker update

Added xf to Scale_vars, which is used during tracker updating and was allocated every frame.
Now it is allocated only once in KCF_Tracker::init in scale_vars[0] and is reused every frame.

5 years agoAdded linear kernel support
Shanigen [Tue, 31 Jul 2018 22:29:12 +0000 (00:29 +0200)]
Added linear kernel support

Added linear kernel option to the scale_track method.

5 years agoModified CMAKE
Shanigen [Tue, 31 Jul 2018 09:03:44 +0000 (11:03 +0200)]
Modified CMAKE

Modified CMAKE to correctly show scale_vars.hpp as one of the source files.

5 years agoCorrected the tracking issue
Shanigen [Tue, 31 Jul 2018 08:32:18 +0000 (10:32 +0200)]
Corrected the tracking issue

Correction of commit f5fe586e979629ba757f245e5ecdf9e6bbdf6c05,
in which I substantialy changed the whole tracker workflow.
This is a patch that corrects the issue with wrong tracking,
which happened because I used wrong value of scale to
compute weighted max response in response map.

5 years agoInitial commit to cuda-streams.
Shanigen [Tue, 24 Jul 2018 12:23:38 +0000 (14:23 +0200)]
Initial commit to cuda-streams.

5 years agoWork done so far on making Scale_var struct
Shanigen [Mon, 30 Jul 2018 15:32:25 +0000 (17:32 +0200)]
Work done so far on making Scale_var struct

This is work done so far in making the tracker workflow easier to follow and also the step to add support for CUDA streams.

5 years agoInitial commit to cuda-streams.
Shanigen [Tue, 24 Jul 2018 12:23:38 +0000 (14:23 +0200)]
Initial commit to cuda-streams.

5 years agoFix paper references
Michal Sojka [Tue, 31 Jul 2018 11:13:53 +0000 (13:13 +0200)]
Fix paper references

5 years agoFix out of bound load and stores
Shanigen [Thu, 26 Jul 2018 14:13:32 +0000 (16:13 +0200)]
Fix out of bound load and stores

We simple allocates more memory so that unaligned SSE
loads and stores always operate on valid memory.

This closes #7.

5 years agoAddition of Scale_var structure.
Shanigen [Thu, 26 Jul 2018 13:51:34 +0000 (15:51 +0200)]
Addition of Scale_var structure.

I added Scale_var structure to begin work to fix issue #6. This should also fix #8. This is not the final version of the structure but it is
stable version, which works with all versions and there should currently be no problems with building of the KCF_tracker.

5 years agoCorrected mistake in CUFFT introduced with 8b28efcd5c939b1d41ce02ac0c2e267d204e4e72
Shanigen [Thu, 26 Jul 2018 11:12:26 +0000 (13:12 +0200)]
Corrected mistake in CUFFT introduced with 8b28efcd5c939b1d41ce02ac0c2e267d204e4e72

In the commit 8b28efcd5c939b1d41ce02ac0c2e267d204e4e72 I introduced float ComplexMat::sqr_norm() method again but forgot to add also to Cufft
version of the ComplexMat.

5 years agoChanges that should correct some race conditions
Shanigen [Wed, 25 Jul 2018 12:10:16 +0000 (14:10 +0200)]
Changes that should correct some race conditions

Changes were made primary to the sqr_norm ComplexMat method, which was unsafe for parallel modes.

5 years agoDraw ground truth rectangle in visualisation window
Michal Sojka [Wed, 25 Jul 2018 06:44:15 +0000 (08:44 +0200)]
Draw ground truth rectangle in visualisation window

5 years agoRefactor metric calculation and change its name
Michal Sojka [Wed, 25 Jul 2018 06:31:16 +0000 (08:31 +0200)]
Refactor metric calculation and change its name

The new name (accuracy) is taken from [1] and in my view it is better
than intersection ratio.

[1] M. Kristan et al., A Novel Performance Evaluation Methodology for
    Single-Target Trackers, 2015, https://arxiv.org/pdf/1503.01313

5 years agoGet rid of redundant variable use_iou
Michal Sojka [Wed, 25 Jul 2018 06:16:04 +0000 (08:16 +0200)]
Get rid of redundant variable use_iou

5 years agoSimplify README
Michal Sojka [Tue, 24 Jul 2018 12:45:21 +0000 (14:45 +0200)]
Simplify README

5 years agoAdd clang-format configuration
Michal Sojka [Tue, 24 Jul 2018 07:46:51 +0000 (09:46 +0200)]
Add clang-format configuration

... and few annotations for it.

5 years agoCorrected small mistake with terminating character
Shanigen [Tue, 24 Jul 2018 08:39:21 +0000 (10:39 +0200)]
Corrected small mistake with terminating character

5 years agoMade an error message easier to read.
Shanigen [Tue, 24 Jul 2018 07:48:20 +0000 (09:48 +0200)]
Made an error message easier to read.

5 years agoCorrected description of CUDA_DEBUG mode.
Shanigen [Tue, 24 Jul 2018 07:43:29 +0000 (09:43 +0200)]
Corrected description of CUDA_DEBUG mode.

5 years agoAdded calculation of intersection over union of groundtruth and calculated bounding...
Shanigen [Mon, 23 Jul 2018 12:56:38 +0000 (14:56 +0200)]
Added calculation of intersection over union of groundtruth and calculated bounding box to show accuracy of the tracker.

5 years agoRestored CUDA_DEBUG mode, which now enables more thorough error checking using cudaDe...
Shanigen [Mon, 23 Jul 2018 09:14:57 +0000 (11:14 +0200)]
Restored CUDA_DEBUG mode, which now enables more thorough error checking using cudaDeviceSynchronize.

5 years agoMerge branch 'master' of https://github.com/Shanigen/kcf
Shanigen [Mon, 23 Jul 2018 06:34:51 +0000 (08:34 +0200)]
Merge branch 'master' of https://github.com/Shanigen/kcf

5 years agoAdded better error messages for checking window size and when
Shanigen [Mon, 23 Jul 2018 06:33:47 +0000 (08:33 +0200)]
Added better error messages for checking window size and when
using -f.

5 years agoRemove CUDA_DEBUG option
Michal Sojka [Wed, 18 Jul 2018 20:42:47 +0000 (22:42 +0200)]
Remove CUDA_DEBUG option

This option is not about debugging but about error checking. And errors
should be ALWAYS done, because without that weird things (like segfaults)
can happen.

5 years agoRemoved mistake that CUDA versions require OpenCV 3.0+
Shanigen [Wed, 18 Jul 2018 12:12:32 +0000 (14:12 +0200)]
Removed mistake that CUDA versions require OpenCV 3.0+

5 years agoChanged long string to multiline.
Shanigen [Wed, 18 Jul 2018 11:22:30 +0000 (13:22 +0200)]
Changed long string to multiline.

5 years agoMerge branch 'master' of https://github.com/Shanigen/kcf
Shanigen [Wed, 18 Jul 2018 10:46:21 +0000 (12:46 +0200)]
Merge branch 'master' of https://github.com/Shanigen/kcf

5 years agoAdded more verbose error message, when checking window size.
Shanigen [Wed, 18 Jul 2018 10:45:35 +0000 (12:45 +0200)]
Added more verbose error message, when checking window size.

5 years agoREADME: Add command to install prerequisities
Michal Sojka [Wed, 18 Jul 2018 09:26:35 +0000 (11:26 +0200)]
README: Add command to install prerequisities

5 years agocmake: Use pkg-config to find FFTW library
Michal Sojka [Wed, 18 Jul 2018 09:18:36 +0000 (11:18 +0200)]
cmake: Use pkg-config to find FFTW library

5 years agoSupress some CUDA-related warnings
Michal Sojka [Wed, 18 Jul 2018 08:01:57 +0000 (08:01 +0000)]
Supress some CUDA-related warnings

5 years agoREADME: Clarify -DOPENMP description
Michal Sojka [Wed, 18 Jul 2018 05:14:36 +0000 (07:14 +0200)]
README: Clarify -DOPENMP description

5 years agoREADME: Clarifications, improvements...
Michal Sojka [Tue, 17 Jul 2018 20:59:57 +0000 (22:59 +0200)]
README: Clarifications, improvements...

5 years agoREAMDE: Fix
Michal Sojka [Tue, 17 Jul 2018 20:37:59 +0000 (22:37 +0200)]
REAMDE: Fix

5 years agoREADME: Convert links to reference-style
Michal Sojka [Tue, 17 Jul 2018 20:36:25 +0000 (22:36 +0200)]
README: Convert links to reference-style

... to make the README readable in plain text.

5 years agoREADME: Wrap long lines
Michal Sojka [Mon, 16 Jul 2018 13:36:16 +0000 (15:36 +0200)]
README: Wrap long lines

This should make the README readable in plain text editors.

5 years agoMakefile: Do not run cmake if it has already been run
Michal Sojka [Fri, 13 Jul 2018 14:01:00 +0000 (16:01 +0200)]
Makefile: Do not run cmake if it has already been run

5 years agoREADME: Cleanup whitespace
Michal Sojka [Fri, 13 Jul 2018 13:27:11 +0000 (15:27 +0200)]
README: Cleanup whitespace

5 years agoModified description for OpenMP option and Fftw version.
Shanigen [Wed, 11 Jul 2018 11:39:40 +0000 (13:39 +0200)]
Modified description for OpenMP option and Fftw version.

5 years agoModified Fftw version to correctly use OpenMP.
Shanigen [Wed, 11 Jul 2018 11:38:56 +0000 (13:38 +0200)]
Modified Fftw version to correctly use OpenMP.

5 years agoREADME: Give example how to compile CUDA-based version
Michal Sojka [Wed, 11 Jul 2018 06:59:03 +0000 (08:59 +0200)]
README: Give example how to compile CUDA-based version

5 years agoOptional arguments must not be separated by space
Michal Sojka [Tue, 10 Jul 2018 16:53:51 +0000 (18:53 +0200)]
Optional arguments must not be separated by space

5 years agoUpdate README
Michal Sojka [Tue, 10 Jul 2018 15:39:56 +0000 (17:39 +0200)]
Update README

5 years agoFix help message
Michal Sojka [Tue, 10 Jul 2018 16:35:36 +0000 (18:35 +0200)]
Fix help message

5 years agoCorrected small mistake in Readme.
Shanigen [Wed, 4 Jul 2018 07:03:30 +0000 (09:03 +0200)]
Corrected small mistake in Readme.

5 years agoCorrected small mistake with table in Readme.
Shanigen [Wed, 4 Jul 2018 07:01:51 +0000 (09:01 +0200)]
Corrected small mistake with table in Readme.

5 years agoAdded additional information to the Readme.
Shanigen [Wed, 4 Jul 2018 06:55:41 +0000 (08:55 +0200)]
Added additional information to the Readme.

5 years agoRemoved cudaDeviceSynchronize in Gaussian correlation.
Shanigen [Tue, 3 Jul 2018 12:09:38 +0000 (14:09 +0200)]
Removed cudaDeviceSynchronize in Gaussian correlation.

6 years agoDeleleted obsolete folder with profiling results.
Shanigen [Thu, 24 May 2018 19:55:05 +0000 (21:55 +0200)]
Deleleted obsolete folder with profiling results.

6 years agoUpdate README.md
Shanigen [Thu, 24 May 2018 10:02:52 +0000 (12:02 +0200)]
Update README.md

6 years agoAdded non-template version of the ComplexMat class to test out the HERCULES compiler.
Shanigen [Wed, 23 May 2018 12:18:53 +0000 (14:18 +0200)]
Added non-template version of the ComplexMat class to test out the HERCULES compiler.

6 years agoCorrected small mistake in scaling.
Shanigen [Tue, 15 May 2018 17:22:37 +0000 (19:22 +0200)]
Corrected small mistake in scaling.

6 years agoModified custom size window. You can now select both dimensions.
Shanigen [Tue, 15 May 2018 12:37:01 +0000 (14:37 +0200)]
Modified custom size window. You can now select both dimensions.

6 years agoMerge branch 'master' of https://github.com/Shanigen/kcf
Shanigen [Mon, 14 May 2018 08:21:20 +0000 (10:21 +0200)]
Merge branch 'master' of https://github.com/Shanigen/kcf

6 years agoCorrected flags used during initialization of Fftw plans.
Shanigen [Mon, 14 May 2018 08:20:26 +0000 (10:20 +0200)]
Corrected flags used during initialization of Fftw plans.

6 years agoAdded source
Shanigen [Sun, 13 May 2018 09:07:30 +0000 (11:07 +0200)]
Added source

6 years agoModified parallel version of Fftw use POSIX threads only when the sequential version...
Shanigen [Sat, 12 May 2018 13:05:32 +0000 (15:05 +0200)]
Modified parallel version of Fftw use POSIX threads only when the sequential version is used.

6 years agoAdded sanity check to prevent combining OpenCV version with big batch mode, which...
Shanigen [Wed, 9 May 2018 15:37:02 +0000 (17:37 +0200)]
Added sanity check to prevent combining OpenCV version with big batch mode, which it does not support.

6 years agoAddde warning, when using linear kernel with cufft version.
Shanigen [Wed, 9 May 2018 15:16:35 +0000 (17:16 +0200)]
Addde warning, when using linear kernel with cufft version.

6 years agoChanged destructor of cuFFT to only destroy plans and delete data used in big batch...
Shanigen [Wed, 9 May 2018 15:14:50 +0000 (17:14 +0200)]
Changed destructor of cuFFT to only destroy plans and delete data used in big batch mode, when big batch mode is on.

6 years agoGit corrected some issue, with destruction of fftw plans.
Shanigen [Wed, 9 May 2018 15:03:49 +0000 (17:03 +0200)]
Git corrected some issue, with destruction of fftw plans.

6 years agoAdded support for big bach mode for linear kernal.
Shanigen [Wed, 9 May 2018 15:01:20 +0000 (17:01 +0200)]
Added support for big bach mode for linear kernal.

6 years agoAdded sanity check for cuFFT version, which prevents unsupported combinations.
Shanigen [Wed, 9 May 2018 13:15:04 +0000 (15:15 +0200)]
Added sanity check for cuFFT version, which prevents unsupported combinations.

6 years agoDelete kcf.o
Shanigen [Wed, 9 May 2018 11:43:07 +0000 (13:43 +0200)]
Delete kcf.o

6 years agoDelete kcf.h.gch
Shanigen [Wed, 9 May 2018 11:42:48 +0000 (13:42 +0200)]
Delete kcf.h.gch

6 years agoMerge branch 'master' of https://github.com/Shanigen/kcf
Shanigen [Mon, 7 May 2018 03:44:14 +0000 (05:44 +0200)]
Merge branch 'master' of https://github.com/Shanigen/kcf

6 years agoAdded custom scaling size option. The final window dimension size has to be divasible...
Shanigen [Mon, 7 May 2018 03:42:03 +0000 (05:42 +0200)]
Added custom scaling size option. The final window dimension size has to be divasible by cell size.

6 years agoUpdate README.md
Shanigen [Fri, 4 May 2018 08:59:10 +0000 (10:59 +0200)]
Update README.md

6 years agoChanged scaling of window to be always 128x128 resulting in 32x32 matrice for feature...
Shanigen [Mon, 23 Apr 2018 14:07:41 +0000 (16:07 +0200)]
Changed scaling of window to be always 128x128 resulting in 32x32 matrice for feature descriptors.

6 years agoGaussian correlation for CUFFT version is now on GPU. Also corrected << operator...
Shanigen [Mon, 23 Apr 2018 12:59:36 +0000 (14:59 +0200)]
Gaussian correlation for CUFFT version is now on GPU. Also corrected << operator for CUDA ComplexMat

6 years agoAdded forward_raw function to ffts in preparation to full cuda support.
Shanigen [Thu, 19 Apr 2018 17:20:02 +0000 (19:20 +0200)]
Added forward_raw function to ffts in preparation to full cuda support.

6 years agoCorrected small mistake with inverse raw in cufft.
Shanigen [Thu, 19 Apr 2018 16:30:03 +0000 (18:30 +0200)]
Corrected small mistake with inverse raw in cufft.

6 years agoAddition of inverse_raw in ftt for preparition of full cuda support. Moved cuda error...
Shanigen [Thu, 19 Apr 2018 16:04:36 +0000 (18:04 +0200)]
Addition of inverse_raw in ftt for preparition of full cuda support. Moved cuda error check functions to cuda folder.

6 years agoSome minor corrections to variable in kcf.
Shanigen [Thu, 19 Apr 2018 15:39:05 +0000 (17:39 +0200)]
Some minor corrections to variable in kcf.

6 years agoAdded check in complexmat to prevent double freeing data on same pointer. Also added...
Shanigen [Thu, 19 Apr 2018 15:18:47 +0000 (17:18 +0200)]
Added check in complexmat to prevent double freeing data on same pointer. Also added global variables with
dimensions for future use in cuda implementation.

6 years agoAdded error cheking for CUDA API calls and CUDA kernels.
Shanigen [Thu, 19 Apr 2018 11:29:08 +0000 (13:29 +0200)]
Added error cheking for CUDA API calls and CUDA kernels.

6 years agoRemoved unused cuda streams in cufft.
Shanigen [Thu, 19 Apr 2018 09:33:55 +0000 (11:33 +0200)]
Removed unused cuda streams in cufft.

6 years agoMerge branch 'master' of github.com:Shanigen/kcf
Michal Sojka [Mon, 16 Apr 2018 13:48:48 +0000 (15:48 +0200)]
Merge branch 'master' of github.com:Shanigen/kcf

6 years agoFix indentation and whitespace
Michal Sojka [Mon, 16 Apr 2018 13:48:44 +0000 (15:48 +0200)]
Fix indentation and whitespace

6 years agoAdded safety check for image dimensions in cuFFT version.
Shanigen [Mon, 16 Apr 2018 11:56:09 +0000 (13:56 +0200)]
Added safety check for image dimensions in  cuFFT version.

6 years agoMerge branch 'master' of https://github.com/Shanigen/kcf
Shanigen [Tue, 10 Apr 2018 13:05:15 +0000 (15:05 +0200)]
Merge branch 'master' of https://github.com/Shanigen/kcf

6 years agoRemoved zero copy for complexmat now it is using normal device memory. Added zero...
Shanigen [Tue, 10 Apr 2018 13:00:23 +0000 (15:00 +0200)]
Removed zero copy for complexmat now it is using normal device memory. Added zero copy memory to cufft and minimized memory copy from device to host and host to device.

6 years agoDo not delete OpenCV_DIR example from toplevel Makefile
Michal Sojka [Mon, 9 Apr 2018 11:14:25 +0000 (13:14 +0200)]
Do not delete OpenCV_DIR example from toplevel Makefile

6 years agoModified Makefile to build all the current working options.
Shanigen [Fri, 6 Apr 2018 09:54:38 +0000 (11:54 +0200)]
Modified Makefile to build all the current working options.

6 years agoCompleted implementation of cufft and complexmat cuda implementation with custom...
Shanigen [Wed, 4 Apr 2018 18:12:44 +0000 (20:12 +0200)]
Completed implementation of cufft and complexmat cuda implementation with custom kernels. Also added big batch variable to ffts.

6 years agoSqr norm in complexmat now returns array.
Shanigen [Thu, 29 Mar 2018 11:08:36 +0000 (13:08 +0200)]
Sqr norm in complexmat now returns array.

6 years agoDeleted obsolete code.
Shanigen [Wed, 28 Mar 2018 14:54:11 +0000 (16:54 +0200)]
Deleted obsolete code.

6 years agoRemoved custom allocator in favor of thrust.
Shanigen [Wed, 28 Mar 2018 13:03:05 +0000 (15:03 +0200)]
Removed custom allocator in favor of thrust.

6 years agoAdded custom allocator for vectors in ComplexMat when using cuFFT.
Shanigen [Wed, 28 Mar 2018 08:37:56 +0000 (10:37 +0200)]
Added custom allocator for vectors in ComplexMat when using cuFFT.

6 years agoCorrected init in OpenCV FFT version
Shanigen [Wed, 28 Mar 2018 08:14:27 +0000 (10:14 +0200)]
Corrected init in OpenCV FFT version

6 years agoAdded compatibility for Opencv 3 in cuFFT.
Shanigen [Mon, 26 Mar 2018 15:41:42 +0000 (17:41 +0200)]
Added compatibility for Opencv 3 in cuFFT.

6 years agoAdded cmake support for cufft, also copied fftw functions to cufft and changed the...
Shanigen [Mon, 26 Mar 2018 14:10:26 +0000 (16:10 +0200)]
Added cmake support for cufft, also copied fftw functions to cufft and changed the to support cufft(in progress).

6 years agocuFFT use preparation correction
Shanigen [Mon, 26 Mar 2018 11:20:39 +0000 (13:20 +0200)]
cuFFT use preparation correction

6 years agoPrepare using cuFFT
Shanigen [Mon, 26 Mar 2018 11:17:11 +0000 (13:17 +0200)]
Prepare using cuFFT

6 years agoCorrected small mistake with OpenMP support for big batch mode.
Shanigen [Mon, 26 Mar 2018 08:34:34 +0000 (10:34 +0200)]
Corrected small mistake with OpenMP support for big batch mode.

6 years agoAdded support for OMP in big batch mode.
Shanigen [Mon, 26 Mar 2018 08:35:50 +0000 (10:35 +0200)]
Added support for OMP in big batch mode.

6 years agoBig batch mode is now working correctly.
Shanigen [Sun, 25 Mar 2018 16:51:50 +0000 (18:51 +0200)]
Big batch mode is now working correctly.

6 years agoBig batch update 2 (not finished)
Shanigen [Sun, 25 Mar 2018 15:27:32 +0000 (17:27 +0200)]
Big batch update 2 (not finished)
Problem with scaling.