Fixed timestamp
This commit is contained in:
parent
4be052917a
commit
baa855e1d7
|
@ -25,8 +25,6 @@ public class Lindera {
|
||||||
public FpsHelper fpsHelper = new FpsHelper();
|
public FpsHelper fpsHelper = new FpsHelper();
|
||||||
private PoseTracking poseTracking;
|
private PoseTracking poseTracking;
|
||||||
|
|
||||||
// TODO: Verify that this is the timestamp used in Actual Plugin
|
|
||||||
private Long timeStamp = 0L;
|
|
||||||
private CameraRotation cameraRotation = CameraRotation.AUTOMATIC;
|
private CameraRotation cameraRotation = CameraRotation.AUTOMATIC;
|
||||||
|
|
||||||
// Live camera demo UI and camera components.
|
// Live camera demo UI and camera components.
|
||||||
|
@ -85,7 +83,6 @@ public class Lindera {
|
||||||
glSurfaceView.setRenderData(poseTrackingResult);
|
glSurfaceView.setRenderData(poseTrackingResult);
|
||||||
glSurfaceView.requestRender();
|
glSurfaceView.requestRender();
|
||||||
ImmutableList<LandmarkProto.Landmark> landmarks = poseTrackingResult.multiPoseLandmarks();
|
ImmutableList<LandmarkProto.Landmark> landmarks = poseTrackingResult.multiPoseLandmarks();
|
||||||
//timeStamp+=1;
|
|
||||||
|
|
||||||
if (landmarks.isEmpty()) return;
|
if (landmarks.isEmpty()) return;
|
||||||
|
|
||||||
|
@ -180,7 +177,6 @@ public class Lindera {
|
||||||
if (poseTracking != null) {
|
if (poseTracking != null) {
|
||||||
poseTracking.close();
|
poseTracking.close();
|
||||||
}
|
}
|
||||||
timeStamp = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void landmarkToXYZPointWithConfidence(LandmarkProto.Landmark landmark,XYZPointWithConfidence bodyJoint){
|
private void landmarkToXYZPointWithConfidence(LandmarkProto.Landmark landmark,XYZPointWithConfidence bodyJoint){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user