MediaPipeUnityPlugin icon indicating copy to clipboard operation
MediaPipeUnityPlugin copied to clipboard

Fix poseLandmarks stream generating an empty packet randomly

Open Kasra-G opened this issue 3 years ago • 2 comments
trafficstars

Since the poseWorldLandmarks stream does not have this issue, it becomes quite trivial to detect when this empty packet has been generated. Moreover, Mediapipe does not output poseWorldLandmarks without outputting poseLandmarks so it is likely not a mediapipe issue. Until the root cause can be investigated, this patch will fix and synchronize the poseLandmarks stream with the rest of the output.

If this issue is not observed on some platforms, then this patch wont affect that - there is never a scenario in which the poseLandmarks stream has an empty packet but the poseWorldLandmarks stream has a value, unless it is the erroneous case that this patch resolves.

The issue has only been observed in the synchronous modes and not in Async.

Kasra-G avatar Aug 04 '22 19:08 Kasra-G

I also noticed this problem

jsaon-L avatar Aug 08 '22 03:08 jsaon-L

related to #642

homuler avatar Oct 01 '22 12:10 homuler