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

Using CameraSource class instead of SurfaceHolder.Callback

In my android application I have to use camera to scan some documents. Also I need to implement Google Mobile Vision (OCR) function to get the text from the doc. Specifically, I need that OCR in...

View Article


Best way to apply a function to each element of Mat (Android)

Hello, I've seen the thread [here](http://answers.opencv.org/question/22115/best-way-to-apply-a-function-to-each-element-of-mat/) with the same request but the two main answers were to use pointers and...

View Article


How to display the detected color?

I made a program to detect colors, however the resulting image displays where the color was detected in white, I would like it to display the color detected. I tried Core.addWeighted and...

View Article

Error when loading torch model in OpenCV 3.4.1 Android

I'm trying to do face recognition on Android using [OpenFace](https://cmusatyalab.github.io/openface/) nn4.small2.v1 neural network. To see if the network could be loaded with OpenCV, I tried to run...

View Article

regarding opencv android module

i want to make a opencv/platforms/android like platform for a library.kindly guide me steps of how this was made and what all i need to do to make this library.

View Article


Unknown crash when getting a double[] from a Mat

I have been working with the OpenCV library (version 3.30) with Android, and occasionally there has been a crash when trying to retrieve the color information from a HSV image Mat. I've copied the...

View Article

How to make sign symbols after hand detection through haar classifier hand?

After spending a couple of days i learnt the environment of opencv. i am going to create an android application for deaf and dumb in which i need to recognize sign symbols and convert into text. i am...

View Article

Finding the max and min x,y location of a mask

After performing watershed algorithm, it returned me a marker like this (not the rectangle). Right now, I want to find the max,min coordinate of the object boundary (not the rectangle). Is there any...

View Article


Android- Read Streaming from FFmpeg

Hello! I receive frames streaming from Android (From a GoPro). I need to restream the frames in local and read them from OpenCV to display in the screen! How can I do this? What protocol can I use to...

View Article


Doing a deep copy causes memory leak

I am writing an android app and I am using method `Mat.clone()` to do a deep clone of one mat to another. The issue is this is causing a memory leak in my app that automatically closes the app after...

View Article

Camera preview has channels reversed on Android hardware

I'm testing some very straightforward code on Android (both AVD and hardware). My understanding is that the parameter `inputFrame` in `onCameraFrame(CvCameraViewFrame inputFrame)` is given as BGR...

View Article

Convert Mat to normalized float array

Hello, I am trying to use opencv on android to detect objects and then to pass these objects to trained tensorflow model. The problem is that my tensorflow model needs float array of the image on the...

View Article

Detect hsv skin color and apply skin based detection

I am working on hand detection project. Please help. I need to find skin hsv values in an image and then to apply skin based detection for hand.

View Article


Optimal performance CMake flags for android build

I am new to opencv and CMake and i am trying to use aruco markers in unity for my school project. Currently i am building my own shared object with cmake-gui and mingw so that i can use it into unity...

View Article

How to convert json string into Mat object using python

i am storing a json string of a mat object(created by opencv android) into a database . how to convert the json string back to Mat object using python?

View Article


error while converting MatOfKeyPoints to json string

i am trying to convert a MatOfKeyPoints object in opencv android to json string . MatOfKeyPoint refKeypoints = new MatOfKeyPoint(); Mat refDescriptors = new Mat(); FeatureDetector orbFeatureDetector =...

View Article

openCV + Thunkable to make Android App

Hello Everyone! I am new to OpenCV, however, I have some experience in Android app development through Thunkable, a programming platform which does not require any Java. I have some expertise in C++,...

View Article


My app is crashing . It is installed smoothly but it is also crashing after...

package phoolchandra.real_time; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.SurfaceView; import android.view.WindowManager;...

View Article

capture an image android

Is there a tutorial anywhere that describes clearly the steps necessary to capture an image , using openCV4Android ? I have looked at this S/O post...

View Article

very low rate in android fpsmeter

hi. I am using my computers webcam on genymotion emulator. and when I run my app it shows 1-1.5 fps. I am trying to do track laser light. But when i give short pulse it does not detect it. I think its...

View Article
Browsing all 1117 articles
Browse latest View live