Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing latest articles
Browse All 353 View Live

find contours miss some objects

I use the following code to read through all objects that I segmented from my image which should be ordered in row and columns as semi-circle (because of segmentation and morphological processing for...

View Article


Train, save, and load svm classifier out of Android

Is there any way to train a dataset outside of Android and then save it and uploaded to Android as I counter a problem in using the save() function to save to serialize and store SVM to disk. Any...

View Article


access to single pixel of SuperpixelSlic object Android

i've this code where im applying the algorithm slic superpixel on a image. Then after showing my image with a imageview,the user should select with touch the superpixels he wants to select.My problem...

View Article

Mask giving assertion error in Grabcut Algo

I want to implement Grabcut using Mask. But its is giving me the assertion error. Code: Mat firstMask = new Mat(); Mat bgModel = new Mat(); Mat fgModel = new Mat(); Mat mask; Mat source = new Mat(1, 1,...

View Article

How to analyse of data array from an image?

Hi, I would like to create an application that will capture an image of a schedule, which have the name and the time period of work for each worker but I can figure out the way of analysing the image...

View Article


SuperpixelSlic image grainy

Hi,im doing an android project with opencv library and im using superpixelslic algorithm.After i applied the algorithm on some devices the image looks like grainy like this: ![image...

View Article

to put image button on camera video streaming

Hi, I'm in trouble with putting an image button on camera video streaming. I wanna put image button when face detected, but I cannot find solution or source code about that. First I thought just put...

View Article

Exception in thread "main" java.lang.UnsatisfiedLinkError: ORB.create_0...

In the use of opencv, I have to solve Exception in thread "main" java.lang.UnsatisfiedLinkError: ORB.create_0 (IFIIIIIII) J Please!!! I need to send as a parameter the number of points to detect....

View Article


Hi all, I need to setup opencv c++ for android studio

For my project I am allowed to use c++ for image processing,but I don't know how to setup opencv c++ on android studio. please can anyone tell me the guidlines from the start? Thank you!

View Article


Android OpenCV take frame from GoPro

Hello! I have developed an Android App that take frames from opencv.android.JavaCameraView and processes them through the onCameraFrame method. Now I have a problem. I need to take the frames from a...

View Article

detecting multi color document with OpenCV4Android

I am new to OpenCv with Android.I am trying to make an application which auto detects documents using OpenCv - 2.4.13 . In my app, there is a functionality of detection documents (like a Scanbot app)...

View Article

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

VideoCapture not working in opencv android

I'm trying to use VideoCapture() in an android application. The app makes a JNI call to the cpp file which has the videocapture() call and passes it a video path. - I have provided the storage read...

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
Browsing latest articles
Browse All 353 View Live