Ask Your Question

Luis's profile - activity

2013-07-17 13:26:08 -0600 commented answer OpenCV 2.4.5 front camera preview is upside down?!

Hi.

The other topic you mention concerns the same issue, but in iOS.

How would it apply to Android phones? I can't say I understand where and what change to make, sorry.

BR, Luís

2013-07-16 05:57:05 -0600 commented answer Android face-detection sample: where's the native code?

Yeah, you're right, I just had found those files myself! There should be some link to these files in the sample, or else this problem might arise again...

Thanks, Luís

2013-07-16 05:55:26 -0600 received badge  Scholar (source)
2013-07-15 16:04:24 -0600 commented question Android face-detection sample: where's the native code?

Hello berak.

If I understand things right, in the file you mention you cannot find the actual c++ source code, that's just the code to bridge from java to c++: it simply calls the actual c++ code and deals with exceptions and other bits and pieces.

If, eg, you look at Java_org_opencv_samples_facedetect_DetectionBasedTracker_nativeDetect, you'll see that some methods are being called, like process and getObjects. What I'm looking is for the definition of these methods.

Thanks anyway.

2013-07-15 13:07:12 -0600 asked a question Android face-detection sample: where's the native code?

Hi.

I have been looking at this face-detection sample, but I cannot seem do get access to the C++ native source code. I'm new to JNI, I must confess...

As far I understand, this native part of the project is only available as a shared library in libs/<arch>/libdetection_based_tracker.so

Since I want to do some changes to that code, I would need to access and change the source. Is it available somewhere? Am I missing something?

Bye and thanks, Luís