Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocl_openTLD #67

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

ocl_openTLD #67

wants to merge 14 commits into from

Conversation

xqch1983
Copy link

Rename branch name frome xqch to ocl_openTLD

Try to add some switch options to selected running CPU or GPU (using OpenCL)
Begin to learn github by Completing OpenTLD using OpenCL.
 imAcq->method = IMACQ_CAM;
Add 3 OpenCL kernels to repository
1. cltldOverlapRect_kernel.cpp
2. EnsembleClassifierFilter_kernel.cl.cpp
3. varianceFilter_kernel.cpp
…classifiers

Add one array with numWindows size to store results of the first two classifiers.
windowFlags = new float[numWindows];
windowFlags[i] = 0.0f;
… original framework.

Add OpenCL initialization  and completed the OpenCL framework based on original framework
modified cmakelist files to find opencl include files and link OpenCL library.
Prepare for NNclassifier filter
Add some codes for NNClassify using OpenCL
completed  NNClassifier->clNNFilter interface, will do conferenced opencl kernel.
there are some bugs till now,
there are bugs in readbuffer from device to host. maybe the kernel nnClassifier have some bugs. I will debug it using CodeXL next step.
finished NNclassifer using OpenCL.
1.fixed bugs in varaiceFilter.cpp in CPU model.
2. fixed one bugs in kernel named cltldOverlapRect_kernel.cpp in using goto statement. must write one semicolon.
3. delete some statements without usage. or delete unused codes.
learn some operation on Github desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant