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

how to convert Mat to jbyteArray ??

I have to return a jbyteArray (I'm using JNI and want a byte[] to return to the Java part). I have a native function in java with return type byte[]. I have an image in Mat and i have to convert it...

View Article


How to? Aruco java...

Hello all. I build OpenCV and Aruco module, from Git... Build script: mkdir -p build_android_armeabi-v7a cd build_android_armeabi-v7a cmake \ -DANDROID_ABI=armeabi-v7a \...

View Article


Can I use OpenCV to differentiate between flowers

I am new to CV and I have seen some tutorials. I want to make an app that recognizes certain flowers (of same or different colors). Is it feasible using OpenCV? Is there any assumption or restriction...

View Article

Opencv4android mask for matchTemplate()

Hi. I'm trying to speed up matchTemplate() for Android. I have already downsampled the image and template to half the original size, but the matching is still somewhat (understandably) slow on some...

View Article

How to convert String data to byte data without Extra conversion

I asked a question a few hours ago , as the following but The intended question is changed. http://answers.opencv.org/question/120726/how-to-convert-mat-data-to-byte-data-in-andorid-by-using-opencv/ So...

View Article


Error:(45) *** Android NDK: Aborting . Stop?

There are many similar question but none of them help and some of them are not answered like [this](http://stackoverflow.com/questions/40751967/error45-android-ndk-aborting-stop). I am integrating...

View Article

cannot save SVM in OpenCV4Android 3.2 after upgrade: Fatal signal 11

I just upgraded to 3.2.0 from 2.4.9 and it seems like the save function is broken? All I did was change `CvSVM` to `SVM` SVM svmClassifier = SVM.create(); File svm_file = new File(dir, "svm_test.xml");...

View Article

DescriptorMatcher reports good matches even when object is not in the scene

I'm trying to detect a known object by comparing the current frame in a video against pre-stored feature descriptors. My thought is to match the features of the current frame against the prestored...

View Article


Hi , I have some error in BaseLoaderCallback in android Studio Please look at...

MainActivity_show_camera ----- package tahanian.mohsen.camera.one; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import...

View Article


Display detected face image on Android

Hello. I'm trying to develop a mobile app where I would perform some operations on detected face images. So first I want to display detected images on the screen. I used example...

View Article

Can you capture screen and run a filter on Android?

Hi, I have written my Android app (java) so it can capture my Android app screen (framebuffer) put it in a bitmap then run a filter on the bitmap then put it back into a resultant bitmap to display as...

View Article

Fatal signal 11 (SIGSEGV), code 2 from knnMatch in OpenCV4Android 3.2

I'm trying to do a pretty simple feature matching project but am running into `this line here causes Fatal signal 11 (SIGSEGV), code 2, fault addr 0x12c4f000 in tid 10135 (Thread-3960)` from OpenCV...

View Article

how to add android opencv library in Qt project

hey guys! could anybody help me with setting up qt project for using opencv on android? my pro file looks like this: ... ANDROID_OPENCV = ../opencv2410androidsdk/sdk/native INCLUDEPATH +=...

View Article


Configure OpenCV for Android with Visual Studio(NVIDIA Nsight )

I want to develop the Android app using opencv4android SDK with Visual Studio(not C# Android), I can not use Eclipse or Android studio with some reasons. I have installed VS 2015 professional, I set up...

View Article

DescriptorMatcher in OpenCV3 for Android

Dear all, I am a newbie for developing with OpenCV and computer Vision, this is a first project i developed with OPENCV on Mobile - Android - used Android Studio. I can use many functions of OpenCV...

View Article


how can i detect shapes what i define in android opencv

i want to detect small particles which are different each other in android. and i want to take count same shape. sample code please! i tried following codes and minEnclosingCircle is not working in...

View Article

mat newMat = new Mat() crashes android app

The title pretty much sums it up. I have this chunk of code that runs fine, but when I try to create a mat, the entire app crashes.

View Article


Bicycle detection with opencv library in android

I am very new with opencv. My project is to detect bicycle using opencv or any other open source library in android. I can successfully run the sample project of opencv and import in android studio...

View Article

OpenCV Matrix get wrong values JNI Java

I'm trying to pass OpenCV Matrix to a cpp file but the data I read from the Matix in the cpp is not right. I don't know what I'm missing here, Maybe something with the pointer. This is part of my cpp...

View Article

Image Calibration

I am new to image processing. I have a data set of images and I want to perform calibration on those images based on a target image. I have surfed a lot on image calibration but the majority of the...

View Article
Browsing all 1117 articles
Browse latest View live