Ask Your Question

HumaDroid's profile - activity

2013-04-28 12:40:55 -0500 asked a question Image step is wrong

I am using the createEigenfaceRecognizer() to train and predict faces.

When i use the databases like AT&T etc with the .pgm images, it works just fine. But when i use my own jpeg images i get the error

---Image step is wrong (Matrix must be continuous).

When i use first ten images to be the AT&T .pgm s and next ten to be my imgaes (both are same pixels), i get the error

---Expected xxxx pixels, but is 0 pixels

This thread seems to have the same kind of problem but it is on Visual Studio.

But im working on Android OpenCV, therefore Eclipse IDE.

Please help me out with this. Thank you :)

2013-03-03 01:35:55 -0500 answered a question OpenCV Library 2.4.4 on Eclipse gives error

I have the same error, I am using latest adt-bundle and NDK on Ubuntu. Normal apps and NDK apps work perfectly.

here are the error im getting

Description Resource Path Location Type The container 'Android Dependencies' references non existing library '/home/kashyap/Android/OpenCV-2.4.4-android-sdk/sdk/java/bin/opencv library - 2.4.4.jar' OpenCV Tutorial 3 - Camera Control Build path Build Path Problem The project cannot be built until build path errors are resolved OpenCV Tutorial 2 - Mixed Processing Unknown Java Problem The project cannot be built until build path errors are resolved OpenCV Sample - image-manipulations Unknown Java Problem Cannot run program "/ndk-build.cmd": Unknown reason OpenCV Tutorial 2 - Mixed Processing C/C++ Problem Unable to resolve target 'android-11' OpenCV Sample - image-manipulations Unknown Android Target Problem Unable to resolve target 'android-11' OpenCV Tutorial 1 - Camera Preview Unknown Android Target Problem Unable to resolve target 'android-11' OpenCV Library - 2.4.4 Unknown Android Target Problem The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project OpenCV Library - 2.4.4 Unknown Java Problem The container 'Android Dependencies' references non existing library '/home/kashyap/Android/OpenCV-2.4.4-android-sdk/sdk/java/bin/opencv library - 2.4.4.jar' OpenCV Tutorial 2 - Mixed Processing Build path Build Path Problem The container 'Android Dependencies' references non existing library '/home/kashyap/Android/OpenCV-2.4.4-android-sdk/sdk/java/bin/opencv library - 2.4.4.jar' OpenCV Sample - color-blob-detection Build path Build Path Problem The project cannot be built until build path errors are resolved OpenCV Tutorial 3 - Camera Control Unknown Java Problem Unable to resolve target 'android-11' OpenCV Sample - color-blob-detection Unknown Android Target Problem The container 'Android Dependencies' references non existing library '/home/kashyap/Android/OpenCV-2.4.4-android-sdk/sdk/java/bin/opencv library - 2.4.4.jar' OpenCV Sample - face-detection Build path Build Path Problem The project cannot be built until build path errors are resolved OpenCV Sample - 15 puzzle Unknown Java Problem Unable to resolve target 'android-11' OpenCV Tutorial 2 - Mixed Processing Unknown Android Target Problem The project cannot be built until build path errors are resolved OpenCV Tutorial 1 - Camera Preview Unknown Java Problem Unable to resolve target 'android-11' OpenCV Tutorial 3 - Camera Control Unknown Android Target Problem The project cannot be built until build path errors are resolved OpenCV Sample - color-blob-detection Unknown Java Problem Unable to resolve target 'android-11' OpenCV Sample - face-detection Unknown Android Target Problem The container 'Android Dependencies' references non existing library '/home/kashyap/Android/OpenCV-2.4.4-android-sdk/sdk/java/bin/opencv library - 2.4.4.jar' OpenCV Tutorial 1 - Camera Preview Build path Build Path Problem The project cannot be built until build path errors are resolved OpenCV Sample - face-detection Unknown Java Problem The container 'Android Dependencies' references non existing library '/home/kashyap/Android/OpenCV-2.4.4-android-sdk/sdk/java/bin/opencv library - 2.4.4.jar' OpenCV Sample - image-manipulations Build path Build Path Problem Unable to resolve target 'android-11' OpenCV ...

(more)