You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 2, 2018. It is now read-only.
I noticed that adding an empty OnFrameAvailableListenerto the Tango service frequently causes a SIGSEGVcrash when a lifecycle transition happens (i.e. onPause() / onResume() etc.). This is quite a problem for me since I need to perform operations on image data itself using OpenCV. If someone has a workaround for accessing raw image data without crashes, please let me know.
Steps to reproduce:
add the following code at the end of setTangoListeners() in the java_augmented_reality_exampleproject:
mTango.experimentalConnectOnFrameListener(TangoCameraIntrinsics.TANGO_CAMERA_COLOR, new Tango.OnFrameAvailableListener() {
@Override
public void onFrameAvailable(TangoImageBuffer tangoImageBuffer, int i) {
}
});
launch the app, trigger some lifecycle events by switching back and forth between android and the app