tilenskr / Face-Detection-and-Recognition-on-Google-Glass

This application enable user to detect faces (real-time) and create their own database for face recognition. It uses OpenCV for Android and JavaCV.
8 stars 4 forks source link

Bad initial resolution. #2

Open AndrewWang996 opened 8 years ago

AndrewWang996 commented 8 years ago

I believe my Glass is 640 x 360, and the application opens with 640 x 360 resolution, but for whatever reason, it opens up with a distorted fuzzy image. However, the next lower 512 x 288 resolution works fine.

tilenskr commented 8 years ago

Yes, Glass resolution is 640 x 360. Some resolutions of camera are indeed blurry. But 640 x 360 resolution should not be blurry. The frame rate of this resolution is not very smooth. Currently I don't posses Google Glass, so I can't test it. But when I get it, I will check on that.

AndrewWang996 commented 8 years ago

Sorry, I didn't really mean blurry or fuzzy. I meant that the image colors are so distorted that it took me 10 minutes at first to understand that it was even showing a video feed. I think because the resolution is slightly too large, there's some offset created in the rows of pixels and that somehow distorts the feed.

tilenskr commented 8 years ago

Ok, thanks for the info. I used default initial resolution, defined in OpenCV and Android Camera API. When I get hands on Glass I will change it.