Bug fix for Google Glass Camera with "OpenCV Tutorial 1 - Camera Preview" project (Bug #3707)


Added by Benjamin Nuernberger almost 11 years ago. Updated over 9 years ago.


Status:Open Start date:2014-05-22
Priority:Normal Due date:
Assignee:Benjamin Nuernberger % Done:

0%

Category:android
Target version:-
Affected version:2.4.9 (latest release) Operating System:Android
Difficulty: HW Platform:ARM
Pull request:

Description

As noted here, the Google Glass camera preview get distorted. I just checked this on Glass version XE 17.2 and the problem still occurs. A simple fix is to add the line

params.setPreviewFpsRange(30000, 30000);

around line 157 of src/org/opencv/android/JavaCameraView.java and this successfully causes the image to not be garbled anymore.


Associated revisions

Revision 99ae48f0
Added by Vadim Pisarevsky about 10 years ago

Merge pull request #3707 from alalek:fix_android_camera

History

Updated by Dmitry Retinskiy almost 11 years ago

Hi Benjamin,

if you could do the fix it would be appreciated,
see instructions here: http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute.
Thanks.

  • Category set to android
  • Assignee set to Benjamin Nuernberger
  • Status changed from New to Open

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4751

Also available in: Atom PDF