Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing all 1117 articles
Browse latest View live

SVM cross validation parameters optimisation and accuracy

I use the following code to train the svm using k-fold cross-validation but the prediction accuracy is low. What I am doing wrong and how to programmatically calculate the accuracy of the classifier...

View Article


GaborFilter Android

I have a problem with GaborFilter in Android. I try to implement this filter because CannyFilter is too weak for my purposes. I want to use it to get edges with great accuracy from the image provided...

View Article


OpenCV with Java wrapper for Android

I am trying to build latest OpenCV with Java wrapper for Android, but I keep getting [this error](https://github.com/opencv/opencv/issues/8460). I've tried to build it with newer and older NDKs ,...

View Article

How to run "build_sdk.py" for Android SDK

I have cloned OpenCV (git clone git://code.opencv.org/opencv.git). Following the instructions on http://code.opencv.org/projects/opencv/wiki/Building_OpenCV4Android_from_trunk I built the libraries...

View Article

I am developing an app that i want auto-captures a business card using custom...

I can probably try something like this: 1) Get an edge map of the image (perform edge detection) 2) Find contours on the edge map. The outermost contour should correspond to the boundaries ofbusiness...

View Article


Strange XML file behaviour

I trained the svm classifier using the following code and it gave me wrong classification and when i looked at the saved xml file, i found strange contents. Only one vector is in the xml file and the...

View Article

Publish SIFT or SURF at playstore?

Hi, I've search everywhere about this. Can I publish my application that's using SURF or SIFT detector at Google playstore? If I should pay for the license, do you know who to contact or the official...

View Article

in android, onCameraFrame never been invoked again

In my android app, I use openCV as eye tracking input. in the same activity, I set media player as the surface view to play a video. after media player running, the onCameraFrame never being invoked...

View Article


Hello every one , i am currently working on a project in android i need to...

I am working on a project where i have to identify the distance between an object may be that can be a vehical and i have to count distance between the mobile and that object how should i do that?

View Article


java.lang.NullPointerException when I use HOGDescriptor.compute(frame,...

I'm trying compute `HOGDescriptor` from a frame on android with openCV 3.2.0. Before I have made it in python and it's working. When I use it on android i have error:> E/AndroidRuntime: FATAL...

View Article

Get person from image

Hello Community, I have a requirement for Android App that if a user select an image from gallery or take a photo from camera, and if there is a person in that image it only returns the person image...

View Article

Android Opencv EM Fatal Error

I'm trying to use **EM::predict2(sample, probs)** to predict if a pixel is part of a leaf or not; however, I'm getting the error:> CvException> [org.opencv.core.CvException:>...

View Article

Is it possible to send as a parameter the number of features to detect in SURF?

I need to detect 200 features for several images to process.     FeatureDetector featureDetector = FeatureDetector.create (FeatureDetector.SURF);

View Article


can we detect body measurement through Open CV

measurements of body

View Article

Android Canny problem No implementation found

Hi, I am trying to modify application "Second sight" from the book Android Application Programming with OpenCV 3 first camera (app works fine ). (Android 7.0 OpenCV 3.3 ) I am using...

View Article


/ libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 17552

I am using OpenCV 2.4.11 in Android Studio and when using SURF it shows me A / libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 17552 Why it happens? FeatureDetector fD =...

View Article

DNN performance on mobile platforms

Hi, I'm in the process of deciding whether to run my tensorflow model on iOS and Android using OpenCV's dnn module vs directly with tensorflow. Advantage using OpenCV would be that I don't need an...

View Article


libopencv_java3 library not found

I have downloaded the opencv sdk which contains libraries for all architectures except x86_64 I needed libopencv_java3.so file for x86_64 which is used in...

View Article

Detect fixed string in the image

I need to find some fixed string in an image, there is a lot of string in the image and all of them digital print on it, but we need to find some string like this "asdf6543210" in the image. In my JAVA...

View Article

camera: error 100 in android os

when I run the demo in android devices ,on the start ,the camera open is ok, but after a while, the camera is freezed, in onCameraFrame call back I got the error “camera: error 100” , i do not kown...

View Article
Browsing all 1117 articles
Browse latest View live