Ask Your Question

Ayan Acharya's profile - activity

2017-11-04 08:49:39 -0500 received badge  Student (source)
2015-01-31 08:24:46 -0500 received badge  Taxonomist
2012-07-18 12:27:55 -0500 answered a question NoClassDefFoundError trying to run my own code

I also have similar issue. I did put the jar inside libs folder and tried solutions available on the net. It seems like eclipse and ant can compile a project with external jars but they somehow can't find the classes from external jar in run time. Let me know if you get a solution.

2012-07-18 03:59:03 -0500 received badge  Notable Question (source)
2012-07-18 03:00:34 -0500 answered a question native opencv camera for LBP based detection

From the discussion posted here and also from other online forums, I was under the impression that the face-detection sample does not use the native camera which might have been the primary reason of its low frame rate. So, I am not sure if this is the most optimal implementation or improvements can be made using the videocapture class (or some other technique) -- for which no example implementation is available for android devices.

@Shervin, I already tried the route and reading from sdcard significantly reduces framerate (~0.5fps). I realized that reading the xml file once in java and then passing the cascade classifier as an object through the JNI function would be faster. But I have not yet implemented that and don't know if this is feasible at all. Any more suggestion?

2012-07-18 02:42:17 -0500 received badge  Popular Question (source)
2012-07-17 15:39:31 -0500 commented question native opencv camera for LBP based detection

To clarify things a bit more, what I am looking for is a way to read the .xml file from java only once and pass it somehow to the C++ native code, capture the video using native camera and detect and display objects from inside the native code.

2012-07-17 15:39:00 -0500 answered a question native opencv camera for LBP based detection

To clarify things a bit more, what I am looking for is a way to read the .xml file from java only once and pass it somehow to the C++ native code, capture the video using native camera and detect and display objects from inside the native code.

2012-07-17 15:04:19 -0500 asked a question native opencv camera for LBP based detection

Hi,

I am working on a real time application and would expect to get at least 20 fps camera frame rate for object detection using LBP cascade classifier. I explored the tutorials of opencv and realized that access using java android camera is pretty slow (~10fps). However, the primary problem using native code for object detection seems to be the trained classifier file .xml as, apparently, there is no obvious way of reading the file from the native code. Can someone please provide some guideline?