Ask Your Question

martin.kubik's profile - activity

2014-03-25 08:03:37 -0600 received badge  Necromancer (source)
2014-03-24 07:53:11 -0600 answered a question Odroid-U2 + OpenCV = image only with moving mouse

I solved the same problem by changing following lines in JavaCameraView.java (in OpenCV4Android Library):

1) Size frameSize = calculateCameraFrameSize(sizes, new JavaCameraSizeAccessor(), width, height);

to

Size frameSize = new Size(width,height);

2) Log.d(TAG, "Set preview size to " + Integer.valueOf((int)frameSize.width) + "x" + Integer.valueOf((int)frameSize.height));

to

Log.d(TAG, "Set preview size to " + Integer.valueOf(640) + "x" + Integer.valueOf(480));

3) params.setPreviewSize((int)frameSize.width, (int)frameSize.height);

to

params.setPreviewSize((int)640, (int)480);

2014-03-24 06:37:36 -0600 commented question Odroid-U2 + OpenCV = image only with moving mouse

I have the same problem with ODROID-XU with Android 4.2.2 , OpenCV 2.4.8 and Odroid USB-CAM 720P.

2014-03-24 06:25:14 -0600 received badge  Supporter (source)