Hi.
I've come across an error in the Opencv4android SDK which I can't quite explain. This bug only shows on my Google Tango tablet, but is non existent when I run my app on my Galaxy S6.
10-12 17:41:53.625 24608-24847/uk.ac.ed.faizan.objecttracker E/SurfaceHolder: Exception locking surface
java.lang.IllegalArgumentException
at android.view.Surface.nativeLockCanvas(Native Method)
at android.view.Surface.lockCanvas(Surface.java:244)
at android.view.SurfaceView$4.internalLockCanvas(SurfaceView.java:818)
at android.view.SurfaceView$4.lockCanvas(SurfaceView.java:786)
at org.opencv.android.CameraBridgeViewBase.deliverAndDrawFrame(CameraBridgeViewBase.java:409)
at org.opencv.android.JavaCameraView$CameraWorker.run(JavaCameraView.java:350)
The error originates from JavaCameraView and I've done some research but can't find anything about it. It's not part of my own code, so I'm at a bit of a loss here.
Any advice on what this could be? I can't even explain the error well because I'm not sure exactly what's causing it.
Any help is much appreciated.
↧