Open jeffreyzhang23 opened 8 years ago
Hi @jeffreyzhang23. Thank you for comment.
Because I don't deeply understand the Android NDK, I might be the wrong answer. Sorry...
Please check the jni / Application.mk, line 6.
APP_ABI := arm64-v8a
Please change the APP_ABI to armeabi and armeabi-v7a, then re-build.
APP_ABI := armeabi
or
APP_ABI := armeabi-v7a
Or you might use 64bit CPU Android. ( For your reference, I'm using "LGV32 isai vivid" to 64bit CPU are mounted. ) Also you can check Application.mk specification.
Best regards, Takuro Negishi
Thank you. I'll try it. :)
Hi @TakuroNegishi , I have changed APP_ABI to "armeabi-v7a", then rebuild the project. It occurs This the raw include file
I went to the "opencv2" folder in "OpenCV-2.4.10-android-sdk", and found the true path of "core.hpp" is "opencv2/core/core.hpp". Other *.h files also have this path problem. I change them separately , rebuild, then it occurs that
May I ask how do you build the project with the unmatched path? Here are the Android.mk and Application.mk
Please help me. Any response will be appreciated. Yours truly, jeffrey.
Hi @jeffreyzhang23. Thank you for comment.
First, because this program is under development, might unstable and the wrong system... Sorry.
I think that, *.h files path error is happening by the difference in OpenCV version. May be OpenCV-2.4 path is #include "opencv2/core/core.hpp", OpenCV-3.0 path is #include "opencv2/core.hpp". I use OpenCV-3.0, so I have used "opencv2/core.hpp" path.
And, AKAZE feature is first appeared in OpenCV-3.0. If you want to use OpenCV-2.4, you need to use old feature. (e.g. ORB, SIFT and FAST)
Best regards, Takuro Negishi
Thank u so much. I'll try it as soon as possible. :)
Hi @TakuroNegishi , Firstly, thank you to your help. the program run on my smartphone well. Then, I have another two questions to ask you. 1) I have studied normal PDR before. The "Pedestrian Dead Reckoning with android camera" is a new idea for me. So, have you published any paper so that I can understand the program more clearly? 2) When I click the "write log" button, it occurs that Actually I haven't understood the function of the app very well. I'm looking forward to your reply. Warm regards, Jeffrey.
Hi @jeffreyzhang23. Thank you for comment.
1) Sorry, this program is under development, and paper has not been published. In the future, I don't plan to publish the english papers. When a person is rotated by the upper body while walking and holding the smartphone, gyro will rotate, but the actual direction of travel is not rotated. This program will detect it using feature points movement on the camera image. (however, this system is unstable)
2) Probably "/storage/emulated/0/negishi.deadreckoning/Feature Image/" path is not exist. Please use such as the other file management application, you need to create the folder. Or you need to rewrite the path in "utils/FileManager.java" and "jni/VanishingPointEstimator.cpp".
Best regards, Takuro Negishi
OK. Thanks a lot.
Hi @TakuroNegishi , I run the program on my smartphone, then I get the results..
I don't know how to do with it. Please help me.. I am looking forward to your reply. Best, jeffrey.