-
Notifications
You must be signed in to change notification settings - Fork 75
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
In the camera preview (after pressing the Take Picture Button) a black screen is appearing no camera preview, with Exit, Capture and Cancel. After pressing capture the app is crashing. In Log cat its showing native_takePicture failed. I am new to open cv #1
Comments
Please attach the full logcat. And the android version. |
Target name=> Android 4.2.2 C:/cygwin/android-ndk-r8d/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion 8 in ./AndroidManifest.xml=>Application.mk APP_ABI := armeabi armeabi-v7a x86In Android .mk I have added some modules include $(BUILD_SHARED_LIBRARY)here is the Logcat |
Hi, Ajay191191 Just Wandering do you have any suggestion for me |
I am sorry, I did not get time to corner the cause of this error. Can you try to install from scratch and also tell me if you find a solution for this ? |
@Nagarameshwar I think your error is related to jni library not getting loaded,i.e the libnative_sample.so. Make sure that you have not deleted the static loading or you are correctly loading it. |
Nagarameshwar I think it would be easier for U to debugg the problem if U go through some sample of Native Android and OpenCV android simple application. |
@Nagarameshwar I think you are doing it wrong. Follow these steps: |
@Ajay191191 ..one quick question its not related to the issue this app is of Face recognition or detection as the name revealed is Face recognition but tin the read me file U wrote "This is an Android application for Face Detection using the OPENCV API." A quick reply will be highly appreciated. |
As you can see, there is an error importing the opencv android sdk, first rectify that. And try to run the samples from the sdk first. |
http://opencv.willowgarage.com/documentation/cpp/basic_structures.html#mat It has rows and cols as members, and also doesn't have any other methods to get the same. So I still think there is something missing in your configuration, as they are the class members(hoping you haven't changed the "images" vector type). |
@Ajay191191 ..Hi, was wandering have u got a chance to verify the issue I was facing, i.e. In Log cat its showing native_takePicture failed...when I was pressing the capture button in the welcome page...At least if U could give me the info what android version (target) U have used and what hardware device (Android OS version) U have used to run it..I will try to simulate in same environment..thanks in advance |
I had tested it on an ARMV6 board on both 2.3.3 as well as 4.1.2 until it recently died . And AFAIR it had happened to me once, but was due to my camera libraries. Nothing to do with the app though. |
Dear @Ajay191191 ...I really appreciate your quick response...Could U please elaborate the problem due to "camera libraries"..I mean any link where the problem and the way to solve been discussed ..I guess I am yet to check the possibility...Thanks again |
By camera libraries I mean the proprietary device library files (.so files). I had that problem since I was running a custom rom, and I was using the wring camera library files. |
@Ajay191191 ..Okay I will give a shot ..hope for the best this time...I will let U know the outcome..Thanks a lot |
@Nagarameshwar...hey man thanks for conforming...lets try to solve it |
@Nagarameshwar ...man I initially post the issue for this problem only.... stuck in the same position |
@Nagarameshwar ... R u able to view the picture preview...I mean in the main form, after pressing the Take Picture Button for me a black screen is appearing no camera preview, with Exit, Capture and Cancel..what about U? |
Sounds good for me I'm not having any preview have U change any came handling parameter in the code.. |
how do u find which header files are unresolved in logcat there is no clue...could U pls explain the way U take care of this issue.. |
@Nagarameshwar .. Man I am not able to find the index option after right clicking on my project. |
armeabi; armeabi-v7a and x86; none works |
I tried on my tab Asus Transfoer prime tab |
@Nagarameshwar , try using |
@ajay i have download ur project when i am running it it is show error "open cv manager has stopped" any solution please tell me |
@Ajay191191 i have the same problem that @Nagarameshwar had, the application crash and told me: "Unfortunately ocv t3 addnative opencv have stopped. How can i resolve it? Thank you very much |
I'm getting such an error can u help me??? |
I have this issue when I try to run this application, after I take the picture and press detect face the application crash, if you can please help me as I'm new in computer vision field and I need to make face recognition with android Thanks |
dear @Ajay191191 |
No description provided.
The text was updated successfully, but these errors were encountered: