javacv

Face Recognition on Android

蓝咒 提交于 2019-11-26 22:02:54
I'm trying to develop a Face Recognition app on Android and since I don't want to use NDK on the project (simply don't have the time to switch), I'm sticking to develop the whole app with Java and therefor I'm having some problems : It seems the Contrib Module isn't included in OpenCV 2.4.2 . is there anyway to use it in the project ? I tried using JavaCV to use the Contrib Module's "FaceRecognizer" class. there are two classes available called "FaceRecognizer" & "FaceRecognizerPtr". does anybody know what the difference between these two is ? The classes mentioned above have a method called

Javacv UnsatisfiedLinkError in windows 7

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-26 21:41:28
问题 In my project I want to capture image from my webcam. I configured step by step following the instructions from this "OpenCV-JavaCV : eclipse project configuration windows 7" blog post. After configuration is finished, i tested samples codes and the application found my webcam SETUP: Setting up device 0 SETUP: Namuga 1.3M Webcam SETUP: Couldn't find preview pin using SmartTee SETUP: Capture callback set SETUP: Device is setup and ready to capture. and then i got an error which is .dll error.

Returning Mat object from native code to java in OpenCV

旧街凉风 提交于 2019-11-26 16:09:48
问题 I have an OpenCV Android app. Most of its code is in Java but I have one function that is in C. The function gets a Mat object and returns a new one. My question is how do I return a Mat from the native code to Java? Couldn't find any example of that. Thanks. 回答1: Today I had to return a Mat from native code. I started with "Tutorial 2 Advanced - 2. Mix Java+Native OpenCV" it already passes two Mat (Images captured from camera) objects to the native code. But I wanted to return extracted

Reshaping noisy coin into a circle form

我只是一个虾纸丫 提交于 2019-11-26 10:59:45
问题 I\'m doing a coin detection using JavaCV (OpenCV wrapper) but I have a little problem when the coins are connected. If I try to erode them to separate these coins they loose their circle form and if I try to count pixels inside each coin there can be problems so that some coins can be miscounted as one that bigger. What I want to do is firstly to reshape them and make them like a circle (equal with the radius of that coin) and then count pixels inside them. Here is my thresholded image: And

Face Recognition on Android

时光总嘲笑我的痴心妄想 提交于 2019-11-26 09:08:20
问题 I\'m trying to develop a Face Recognition app on Android and since I don\'t want to use NDK on the project (simply don\'t have the time to switch), I\'m sticking to develop the whole app with Java and therefor I\'m having some problems : It seems the Contrib Module isn\'t included in OpenCV 2.4.2 . is there anyway to use it in the project ? I tried using JavaCV to use the Contrib Module\'s \"FaceRecognizer\" class. there are two classes available called \"FaceRecognizer\" & \