space150 / google-glass-playground

Other
94 stars 45 forks source link

FaceDetection issues #4

Open kaminskypavel opened 9 years ago

kaminskypavel commented 9 years ago

Hey I'm getting a washed images with both face detection and the image manipulation examples. compiled against OpenCV 2.4.9 Android SDK.

any ideas?

screenshot_2014-10-10-17-23-59 1

screenshot_2014-10-10-17-23-52 1

AaronWagner commented 9 years ago

I got the same thing but I'm very n00bly with openCV. I think I didn't import the native C++ libraries correctly, and I havn't made time to go back and investigate that yet.

On Fri, Oct 10, 2014 at 10:31 AM, kaminskypavel notifications@github.com wrote:

Hey I'm getting a washed images with both face detection and the image manipulation examples. compiled agains OpenCV 2.4.9 Android SDK.

any ideas?

[image: screenshot_2014-10-10-17-23-59 1] https://cloud.githubusercontent.com/assets/4253088/4593836/e67abd12-5089-11e4-9c59-2c53545b2902.png

[image: screenshot_2014-10-10-17-23-52 1] https://cloud.githubusercontent.com/assets/4253088/4593841/fd3ea3e2-5089-11e4-89e7-4b05cd6c6110.png

— Reply to this email directly or view it on GitHub https://github.com/space150/google-glass-playground/issues/4.

kaminskypavel commented 9 years ago

let me know if you're getting it right.

longle2718 commented 9 years ago

Hi there, this issue is described at the bottom of the following page http://www.prodigyproductionsllc.com/articles/programming/computer-vision-with-opencv-and-google-glass-part-1/

Basically you need to adjust the "activity_main.xml” layout to match the glass dimensions (640dp x 360dp) instead of the default.