Ask Your Question

Cadtech's profile - activity

2017-11-04 09:00:01 -0600 received badge  Popular Question (source)
2012-12-18 07:15:15 -0600 received badge  Self-Learner (source)
2012-11-09 13:39:42 -0600 commented question OpenCV Paths Headaches in Eclipse with android

Under Android Build Console I get: (minus the date and time stamp)

(Android Launch) (adb is running normally) (Performing org.opencv.samples.fd.FdActivity activity launch) (Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'Test_8') (Uploading OpenCV Sample - face-detection.apk onto device 'emulator-5554') (Installing OpenCV Sample - face-detection.apk) (Installation failed due to invalid APK file) (Please check logcat output for more details) (Launch canceled)

2012-11-09 13:37:29 -0600 commented question OpenCV Paths Headaches in Eclipse with android

OpenCV Sample - Face Detection -->Right Click -->Run As --> Android Application. Under CDT build Console I get the following:

14:30:48 * Incremental Build of configuration Default for project OpenCV Sample - face-detection * "C:\Android\NDK\ndk-build.cmd" Install : libdetection_based_tracker.so => libs/armeabi-v7a/libdetection_based_tracker.so

14:30:48 Build Finished (took 380ms)

2012-11-09 13:28:14 -0600 received badge  Editor (source)
2012-11-09 13:26:26 -0600 answered a question Error Importing OpenCV4Android into eclipse

If using Juno version of Eclipse, Make sure to have installed the JDK or the like with the newest version... I needed something higher than 6... Version 7 cleared this up...

2012-11-09 13:20:45 -0600 commented question OpenCV Paths Headaches in Eclipse with android

There is however, a yellow exclamation point beside openCV Library-2.4.3 that says openCVEngineInterface.java has a problem in line 100 saying method getinterfacedesciptor() from type opencvengineinterface.stub.proxy is never used locally... other than that it shows and says no errors as to why this will not install on the emulator nor why it is considered an invalid apk... Maybe when you all signed the apk file is wrong or messed up or something... I have no clue... I can't get or post errors on here to show everyone... I am sorry for this...

2012-11-09 13:17:28 -0600 commented question OpenCV Paths Headaches in Eclipse with android

@Kirill (Cont'd) It does not give errors as to why it will not install and says it is invalid... I can not understand the logcat, but under android in the console it says INVALID apk and stops and ends... If you can even get them to install on the emulator when you try and load up the app it always closes saying it has stopped... So obviously there is something wrong with the apk file or the coding... When trying the face detection app, in console for CDT it looks to be successful but in the android console says installation failed due to invalid apk file please check logcat launch canceled...

2012-11-09 13:12:43 -0600 commented question OpenCV Paths Headaches in Eclipse with android

@Kirill well I can't get anything to work so yes nothing works and this is true or I wouldn't say it isn't... Secondly, I have to install two of six apk files from the apk folder from opencv-android, ALL are invalid and will not install through the adb... I run all the samples that came with opencv-android and onlly the java version actually can eb installed to the emulator... and thing using c++ with a java wrapper does not install and says IT IS INVALID... I am not making it up the program and files are... All my paths are right for there are not warnings or errors saying such... Tutorial #'s 3,4 will not install to the emulator, the face detection sample does not install to the emulator, color-blob does not install to the emulator no matter how I run or compile...

2012-11-09 06:56:46 -0600 commented question OpenCV Paths Headaches in Eclipse with android

@frankie, Thanks for getting back to me on this situation...

2012-11-08 09:23:47 -0600 asked a question OpenCV Paths Headaches in Eclipse with android

I have followed the online android & eclipse documentation to the T and have set everything up accordingly... I am having problems with the pathing issues and can not fix them... There is missing information from the previous documentation versus the new one... I also can not get the sample apps to compile because of errors and the fact that most of your apps have dead or unused code... I try to install the manager manually from the 2.4.3-sdk apk folder and they are all invalid and will not install... If I can even get one of the apps to compile and upload it to the emulator it fails or the app has unexpectedly stopped and must close... There used to be documentation that showed what to do if you are using a certain version of android or eclipse or windows, that is now gone... The documentation also states to install the manager and binaries but there are 5 different managers and none of which are on the documentation all you have is opencv_2.4.3_manager_2.0.apk or something like it... that file doesn't exist...

Can anyone help me solve this or is this a complete waste of my time, nothing in the tutorials work except for the import of files to the workspace after that its crap...

Tutorials that are actually accurate would help and having pictures of every single step would help too...

I am sorry in advance for being a noob or for putting people down, or for bashing, this is not my intent but this is frustrating and must be shared... how can one expect to compile and use your code when the documentation doesn't even get you going 100%...

In any event, any help would be appreciated, Thanks in advance...

2012-11-01 08:14:24 -0600 commented question Error Importing OpenCV4Android into eclipse

Kirill, Thanks for getting back to me on a timely manner... I think I may have found out the issue... For some reason, I either thought I had updated my Java run time or it never updated on a fluke... But Once I was able to update my java runtime to 7, I got rid of the closing loop for eclipse...

P.S. I am currently not using the Nvidia development kit... I am using just Classic Eclipse Juno, with your OpenCV4android 2.4.3RC and all the updated files needed by the Android sdk...

P.S.S. I am going to try the samples and see how that goes...

2012-10-31 14:01:54 -0600 asked a question Error Importing OpenCV4Android into eclipse

I followed the Documentation here... I follow Exactly from step one down to step six... Which is The image where it shows the "False errors" after importing an existing project... Once I click finish Eclipse closes and a window with an error pops up... I am using all the updated software from eclipse (juno); Android SDK and the NDK and the like; Also I am using the OpenCV4Android v2.3.4rc... Based on the images of the tutorial, someone is using the Juno eclipse IDE...

Any thoughts as to why I get a error from eclipse and making it close after I follow the tutorial to the letter? Once I try to re-open eclipse after it force closes, I get the same error, so it is a loop and I can not work with eclipse period... I can tell you once I delete the workspace for OpenCV4Android eclipse will open fine, so it is indeed the files that come with the zip file from the website for v 2.3.4rc

Error: only thing I did was delete the system info and Username info from exact bottom of txt file

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000256d243, pid=5220, tid=796
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# j  org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPSemantics.expandUsingDeclarationsAndRemoveObjects([Lorg/eclipse/cdt/core/dom/ast/IBinding;Z)[Lorg/eclipse/cdt/core/dom/ast/IBinding;+0
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x000000000f91b800):  JavaThread "Worker-7" [_thread_in_Java, id=796, stack(0x00000000152e0000,0x00000000153e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000000069007c

Registers:
RAX=0x0000000000690074, RBX=0x0000000000000492, RCX=0x00000000d5c7a230, RDX=0x00000000d5c7f920
RSP=0x00000000153ddd68, RBP=0x00000000153ddda8, RSI=0x000000000f6ee848, RDI=0x0000000002555ea3
R8=0x000000000f91b800, R9=0x0000000000000006, R10=0x000000006de6e6f0, R11=0x00000000153ddd08
R12=0x0000000000000000, R13=0x00000000d5c8a39e, R14=0x00000000153ddde8, R15=0x000000000f91b800
RIP=0x000000000256d243, EFLAGS=0x0000000000010246

...