Ask Your Question

Scheidecker's profile - activity

2017-07-06 08:43:12 -0600 received badge  Famous Question (source)
2015-11-27 12:33:47 -0600 received badge  Popular Question (source)
2015-03-25 18:00:01 -0600 received badge  Notable Question (source)
2014-08-14 17:47:36 -0600 received badge  Popular Question (source)
2014-04-10 12:44:26 -0600 received badge  Student (source)
2013-08-29 02:50:36 -0600 received badge  Self-Learner (source)
2013-08-29 02:13:00 -0600 answered a question Nightmare with Android and OpenCV 2.4.6

Got it worker Moster! It just does not like Maven is all.

2013-08-29 02:11:37 -0600 commented question Nightmare with Android and OpenCV 2.4.6

Got it working. The issue is that it does not like Maven. Thanks Moster!!!

2013-08-26 14:24:48 -0600 commented question Nightmare with Android and OpenCV 2.4.6

Moster, it shows a GREEN tick in front but them all the classes issues errors as the R (cannot be found) from the MainActivity as well as the GEN folder does not display the org.opencv generated files. Running the sample projects and doing my own without Maven seems to work. I will test it tonight without Maven.

2013-08-26 00:24:36 -0600 commented question Nightmare with Android and OpenCV 2.4.6

I' ve built my initial project with Maven. I wonder if that is the issue.

2013-08-26 00:14:42 -0600 commented question Nightmare with Android and OpenCV 2.4.6

Interesting, if I create another Android App from the scratch on the same workspace and use the instructions., then under the "gen" folder I also have org.opencv.R class while on my original project I do not have that and if I add the android library on project.properties file like my test app as in android.library.reference.1=../OpenCV-2.4.6-android-sdk/skd/java then it start giving me all types of errors unlike the new test project.

2013-08-25 23:15:37 -0600 commented question Nightmare with Android and OpenCV 2.4.6

Moster, Thanks for that. I have seen the JNI folder on the Face Detector sample. The issue that I am having is that:

If I go to Project->Android->Library and add the OpenCVLibrary2.4.6 that is on the same workspace, all my R classes that are generated error out as it cannot see the GEN folder anymore and errors out on my layouts xml as well.

So what I did before was not add the Android->Library reference but to a Project->Java Build Path->Project and add the OpenCV Library - 2.4.6 as a required project on the build path. That removes the IDE and compiler erros and the project can be deployed to the tablet but it then gives me the same errors as before.

On my Application.mk aand Android.mk I have see the stuff as per instructions.

That is the reason why ... (more)

2013-08-25 11:29:30 -0600 commented question Nightmare with Android and OpenCV 2.4.6

What do you mean load the libraries? The JINI part? I have copied the architecture C++ libs to the folder but I have not created the android.mk nor the opencv.mk. I am not sure where to place them on the project directory tree.

2013-08-25 00:48:34 -0600 asked a question Nightmare with Android and OpenCV 2.4.6

Hello all,

I am trying to write an OpenCV app with my android. I have tried 2 Asus Tablets (TF300 and TF700T) and also a Samsung S4 phone.

In all I have the following error log on Eclipse:

*[2013-08-24 23:20:26 - OpenCV Library - 2.4.6] Could not find OpenCV Library - 2.4.6.apk!*

The rest of the log.

[2013-08-24 23:20:10 - TabletOCR] Android Launch! [2013-08-24 23:20:10 - TabletOCR] adb is running normally. [2013-08-24 23:20:10 - TabletOCR] Performing com.nando.android.MainActivity activity launch [2013-08-24 23:20:22 - TabletOCR] Uploading TabletOCR.apk onto device '5e246c8f' [2013-08-24 23:20:23 - TabletOCR] Installing TabletOCR.apk... [2013-08-24 23:20:26 - TabletOCR] Success! *[2013-08-24 23:20:26 - OpenCV Library - 2.4.6] Could not find OpenCV Library - 2.4.6.apk!* [2013-08-24 23:20:26 - TabletOCR] Starting activity com.nando.android.MainActivity on device 5e246c8f [2013-08-24 23:20:27 - TabletOCR] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.perceptivecore.android/.MainActivity } [2013-08-24 23:27:13 - TabletOCR] ------------------------------

basically, everytime I call an activity that has an org.opencv dependency it crashes.

I have OpenCV Library 2.4.6 as a project on the same workspace. I have added it as a dependecy project to mine after all online I've found has failed. I have the OpenCV Manager installed on the devices.

On the logcat I have:

VFY: unable to find class referenced in signature (Lorg/opencv/core/Mat;)

VFY: unable to resolve const-class 690 (Lcom/nando/android/gui/activities/CameraActivity;) in Lcom/nando/android/MainActivity;

Trying to set that under Project properties/Android/Library and add the reference makes so that the project does not compile under Eclipse and does not launch.

I have tried the tips on the following without success: http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html http://answers.opencv.org/question/1990/best-opencv-build-for-androidtegra3/ http://stackoverflow.com/questions/17574313/unable-to-display-controls-in-android-project-activity-using-opencv http://stackoverflow.com/questions/18241545/android-logcat-error-message-file-driverlist-txt-not-found http://forums.ouya.tv/discussion/1916/com-nvidia-nvcplsvc-files-driverlist-txt-not-found http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html#o4a-sdk

I would appreciate any help. The fact is: the app cannot find any OpenCV library when I start an activity that depend on them. The debugger stops (class not found) when I try to create an object with that class. If I try to display an activity that does not have OpenCV then it works great!

Any help is appreciated.

Thanks!

2013-03-11 14:01:35 -0600 asked a question Basic image enhancing for OCR purproses

Greeting all!

I am hoping to get some pointers or samples with OpenCV/javaCV to accomplish some image enhancing optimizations for getting OCR performance better.

I would use JavaCV to perform my OpenCV needs as I must accomplish it inside a Java app.

Here is what I would like to do:

1) Deskewing. Some of the scanned images are not aligned properly on the scanner bed, hence the text and images have some skew. How to detect that and how to auto adjust it with JavaCV?

2) Black border removal: Maybe Hough Transform algorithm or some sample withing the javaCV wiki can help me detecting those and removing (ie filling it with the background color: white)

3) Image Binarization. Ideally, I want the image to be a perfect black and white (0, 255) for OCR performance. How to do it via JavaCV?

4) Punch holes removal from scanned papers. Looks like a Circular Hough detection here would help. I need to remove the punch holes, that is fill them with the background color.

5) Skeletonize the image so that the characters are thinner and more precise for OCR process. How can I do that? This is particular useful for handwritten characters.

6) Noise removal. Back-to-front interference removal from old papers or newspapers scannes.

7) Remove image compression if any. How can you detect that there is compression and how to remove it?

So, are there any examples on how to accomplish this with javaCV that anyone could point me to? Basically, I am trying to learn how to write an image pre-processing set of filters that can be applied automatically to images.

Any pointers are welcome.

Thanks in advance,

Carlos.