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

speed up on android #64

Open
qq297110281 opened this issue Jan 2, 2020 · 0 comments
Open

speed up on android #64

qq297110281 opened this issue Jan 2, 2020 · 0 comments

Comments

@qq297110281
Copy link

@rockkingjy great project! i try to make work on android recently. and it work ok, but the speed not so good, here is my setting:
parameters.useDeepFeature = false;
parameters.useHogFeature = true;
parameters.useColorspaceFeature = false;
parameters.useCnFeature = true;
parameters.useIcFeature = true;
parameters.learning_rate = 0.01;
parameters.projection_reg = 5e-7;
parameters.init_CG_iter = 10 * 20;
parameters.CG_forgetting_rate = 60;
parameters.precond_reg_param = 0.2;
parameters.reg_window_edge = 4e-3;
parameters.use_scale_filter = false;
parameters.hog_features.fparams.cell_size=12;
parameters.cn_features.fparams.cell_size = 10;
parameters.ic_features.fparams.cell_size = 10;

the compile options:
set (CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -frtti -fexceptions -fopenmp -mfpu=neon -mfloat-abi=softfp -O3 -ffast-math -DUSE_SIMD -DUSE_NEON -pthread -DUSE_MULTI_THREAD")

and the input image resolution is : 384x216
i got average 70ms per frame. any advise??

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

No branches or pull requests

1 participant