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 ArticleTrain, 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 Articleaccess 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 ArticleMask 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 ArticleHow 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 ArticleSuperpixelSlic 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: . I've tried to build it with newer and older NDKs ,...
View ArticleHow 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 ArticleI 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 ArticleStrange 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 ArticlePublish 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 Articlein 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 ArticleHello 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 Articlejava.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 ArticleGet 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 ArticleAndroid 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 ArticleIs 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 ArticleAndroid 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 ArticleDNN 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 Articlelibopencv_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