Skip to main content

All Questions

Tagged with
-4 votes
0 answers
40 views

Capture image from android camera [closed]

I am working on an application that works with cameras in android using java and android studio. in python or cpp we can access camera with something codes like this: import cv2 # opencv vc = cv2....
Erica's user avatar
  • 3
0 votes
0 answers
32 views

OpenCV finger extraction from image / liveview from camera and draw contour around finger

I would like to extract a finger from an androidx.camera.view.PreviewView in Android java. I am using an ImageAnalysis Object to run a analyze() function on an ExecutorService. The analyze() has a ...
Ramon D's user avatar
-1 votes
0 answers
32 views

How to convert OpenCV Threshold into a one bit per pixel bitmap in Android?

I am trying to convert the photo I take into one bit per pixel Bitmap in Android (Kotlin). Imgproc.threshold(tmp,tmp, bwThreshold.toDouble(),255.0,Imgproc.THRESH_BINARY) Utils.matToBitmap(tmp,...
trafon31's user avatar
0 votes
1 answer
30 views

Importing OpenCV in Android Studio

I want to import OpenCV in android studio but unable to do it. I looked on internet but all the procedure given make me stuck at one place. Whenever i try to import module from source it says "...
Shivendra Jhala's user avatar
0 votes
1 answer
55 views

Compiling OpenCV for Android on Windows with CMake - make still tries to link "dll" files

This is how I set up the cmake, in the root of OpenCV 4.9.0. repository: cmake -DCMAKE_ANDROID_NDK=D:\...\lib\AndroidSDK\ndk\25.1.8937393 \ -DCMAKE_SYSTEM_NAME=Android \ -B..\OpenCV_4.9.0_builds\...
Tomáš Zato's user avatar
  • 52.1k
-2 votes
1 answer
52 views

How to use imshow() in Mobile App on Kotlin?

I decided to create a computer vision model that detect an object. It takes a real-time image from camera and show rectangles of detected objects. But I dunno how to visualize OpenCV imshow() function....
Griffith's user avatar
0 votes
1 answer
39 views

How do you access images at a URL from within the JNI?

I am working on a project that involves matching images on an android phone using local resources. A general overview of the workflow is to take a camera image, generate a locality sensitive hash for ...
Jeremiah's user avatar
  • 101
0 votes
0 answers
94 views

How do i integrate python script in a react-native app targeted for android

Guidance needed. I have a Python script that uses MediaPipe and OpenCV modules to map a 2D image of clothing on the person's body based on the extracted coordinates. This is done in real-time (tested ...
floralastronaut's user avatar
0 votes
0 answers
66 views

Opencv android using using CAP_MJPEG nor CAP_GSTREAMER unable to get frames from ESP32 camera stream

I am trying to capture frames from an esp32-cam set up to my android phone, hoping to be able to do object detection from that esp32-cam's stream. I know my esp32 is also oputting a MJPEG stream, and ...
fatbringer's user avatar
0 votes
1 answer
222 views

How to package openCV android sdk with an android plugin?

I need to create an android plugin for Godot Game engine. My android plugin needs an openCV feature. I have managed to integrate openCV in my android project using this tutorial but I need openCV in ...
BraveEvidence's user avatar
0 votes
2 answers
55 views

kivy buildzeor stderr: ModuleNotFoundError: No module named 'cv2'

I want to use OpenCV and Kivy to create an APK, with the function of taking photos and applying the Canny edge detection algorithm to the images. The code is as follows: from kivy.app import App from ...
xwss's user avatar
  • 1
0 votes
0 answers
49 views

Android 14 crashing with libc of OpenCV

I'm doing a project in which I use OpenCV to manipulate some images, and everything is ok on android 13 or previous, but I've updated my S23 to Android 14 (OneUI 6.1) and now android studio crash with ...
Víctor Martín's user avatar
-1 votes
1 answer
38 views

Creating multiple instances of a class with different initializing values in Flutter

I am using this package and creating two instances of its class PixelMatching which uses dart ffi and some c++ code to perform feature matching using open cv. I initialise the two instances with ...
confumbit's user avatar
0 votes
0 answers
47 views

"id: 'com.android.application', version: '8.3.0', apply: false" when importing module (openCV)

I'm new to Android. I want to connect ESP32 cam with android and process using openCV. I downloaded the latest version of Android studio and want to import some module (openCV). Both the Android ...
ALBERTUS STEVEN SANTOSA's user avatar
0 votes
0 answers
36 views

Applying KMeans clustering from OpenCV cannot return a Bitmap with alpha channel

I'm working in a task for applying kmeans clustering algorithm from OpenCV with Kotlin inside of an android app. I'm got a piece of code that works, and result is an a reduced colors of the original ...
Víctor Martín's user avatar

15 30 50 per page
1
2 3 4 5
293