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

Python OpenCV stream to Android Studio

Hi everyone, Is there any way where I can stream a live video from python opencv (code from https://www.pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/) to...

View Article


How do I properly build Android OpenCV from sources?

The end goal is to build opencv with contrib for Android, but i cant seem to get the build_sdk.py script to even work without the --extra_pack flag I've downloaded build Tools 25.0.3, sdk tools...

View Article


[HELP] CvException @ Dnn.forward() in Android

I'm trying to implement Gil Levi and Tal Hassner.Age and Gender Classification Using Convolutional Neural Networks to Android app but I'm getting an error on Dnn.forward(). I followed this...

View Article

Android Object tracking

I'm building an Android based OpenCV application that needs to track objects. I was reading an article on pyimagesearch that uses various object tracking implementations (KCF, CSRT, MOSSE, etc) that...

View Article

OpenCV Java How can I find red lined Rectangles from 12 rectangles.

I am running into a very unique problem statement. I have an image which will have 12 led lights and a few out of them will glow as red. After trying out multiple algorithms, I have reached till this...

View Article


Run the official face-detection sample and find the problem

**System information (version)** OpenCV => 3.4 Operating System / Platform => Android Compiler => cmake **Detailed description** Run the official face-detection sample and find that the value...

View Article

Android studio failed build NDK project: error finished with non-zero exit...

I'm running into this error:> Process 'command 'C:/Users/cvlab/AppData/Local/Android/Sdk/ndk-bundle/ndk-build.cmd'' finished with non-zero exit value 2 This is my gradle file of the project: apply...

View Article

Is prebuilt OpenCV by default come with Neon on Android ?

I want enable Neon optimization for armebi-v7a and arm64-v8a architecture on android but I can't figure Is OpenCV prebuilt libs come with Neon ? Or I should build it from source code? If yes, which...

View Article


UMat implementations slower than Mat

Hi. I have made an OpenCV based application using C++ and successfully run it on Android using NDK. It uses camera input for processing. Right now the fps on PC with core i5 using only CPU is about 27...

View Article


FaceRecognizer Parameter problem of the train method

**Android project environment!** I see the official example, the two parameters passed in are **vector< Mat> images and vector< int> labels**; code below: vector images; vector labels; //...

View Article

Android developmenet with Opencv 2.4.13.6 slower than Opencv 3.4.2?

While trying to develop a vehicle detector in Android, I had to shift to OpenCV 2.4.13.6 in order to use HOG cascade as a classifier. On doing so I have experienced a fall in speed from 12 frames per...

View Article

Android JavaCameraView - Huge frame rate drop in newer APIs

I'm working on a simple application that get frames from my smartphone camera. When my phone has older APIs (24 and below) I always used to get 30 fps, since none image processing was being done. For...

View Article

Image Processing: Removing noise of processed image OPENCV - JAVA

I have process an image for OCR, I encountered a problem where the processed image has too much noise. I am a beginner in this type of programming and Im just wondering if you guys can help me denoise...

View Article


how to convert int array to mat in android?

***how to convert int array to Mat in android?***

View Article

JAVA - Removing noise of processed image OPENCV

I have process an image for OCR, I encountered a problem where the processed image has too much noise. I am a beginner in this type of programming and Im just wondering if you guys can help me denoise...

View Article


face recognize occur error in execute train method.

**detail code :** private LoaderCallbackInterface mLoaderCallback = new LoaderCallbackInterface() { @Override public void onManagerConnected(int status) { if (status==LoaderCallbackInterface.SUCCESS){...

View Article

Illegal argument exception and thread issues on lockCanvas

I am attempting to take a picture, and in the onPictureTaken I atempt to make some layout changes and then pass the image data to a new activity. When making layout changes the app crashes with an...

View Article


Where is the lib file **mixed_sample.so** ?

I'm trying to compile the tutorial-2-mixedprocess application in android, this application comes with the sdk. But my application crashes when it tries to load **mixed_sample** // Load native library...

View Article

How do I support c++11 in Opencv 3 Android NDK

Hi, all I am doing the next changes to support c++11 with opencv 3 in android NDK: I change from APP_STL := gnustl_static to APP_STL := c++_static Application.mk APP_STL := c++_static APP_CPPFLAGS :=...

View Article

OpenCV Manager: Item not Found

The OpenCV docs says:> In most cases OpenCV Manager may be> installed automatically from Google> Play. For the case, when Google Play> is not available, i.e. emulator,> developer board,...

View Article
Browsing all 1117 articles
Browse latest View live


Latest Images