2015-05-05 05:24:52 -0600 | asked a question | OpenCV Face-detection doesn't work--unable to start activity ComponentInfo-- Galaxy S3 Android 4.3 Hello Community, I try to start the face-detection sample from the OpenCV sdk v 2.4.10 . There is no error in the source code anymore and I import successfull the OpenCV library and android ndk. So when i start the app it stops immediately and i get the following locat output (I have no idea how to solve it...) my android.mk sourde code is the following I can't say why it crashes because i changed nothing in the source code. I hope someone can help me. |
2015-04-30 08:47:03 -0600 | answered a question | face-detection sample not work I have the same problem...can somebody helps here?? |
2015-04-23 09:47:28 -0600 | asked a question | OpenCV Library - 2.4.10] Could not find OpenCV Library - 2.4.10.apk! Hello Community, i have a problem with the OpenCV face detection. You can the mainActivity at the bottom. Nowhere appears an error so i am quite sure that i importet the OpenCV library 2.4.10 correctly. But when I want to try the app this error appears in the console: "Could not find OpenCV Library - 2.4.10.apk!". I search in the internet and try different things like using OpenCV library 2.4.9 or delete the whole project and develop it again, but nothing works. It is also added as library in the Project properties. I hope that someone can help me. Source Code: import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import org.opencv.android.BaseLoaderCallback; import org.opencv.android.CameraBridgeViewBase; import org.opencv.android.CameraBridgeViewBase.CvCameraViewListener; import org.opencv.android.JavaCameraView; import org.opencv.android.LoaderCallbackInterface; import org.opencv.android.OpenCVLoader; import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.core.MatOfRect; import org.opencv.core.Rect; import org.opencv.core.Scalar; import org.opencv.core.Size; import org.opencv.imgproc.Imgproc; import org.opencv.objdetect.CascadeClassifier; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.WindowManager; public class MainActivity extends Activity implements CvCameraViewListener { private CameraBridgeViewBase openCvCameraView; private CascadeClassifier cascadeClassifier;; private Mat grayscaleImage; private int absoluteFaceSize; (more) |