Closed wizVR-zhangjun closed 2 years ago
On Android, only GPU calculators are exported, so you cannot use FaceLandmarkFrontCpu
(use FaceLandmarkFrontGpu
instead).
P.S. Please use the support form and share the complete log, not excerpts.
@wizVR-zhangjun Hi did it work for you?
@wizVR-zhangjun Hi did it work for you?
@NeerajMehta This one seems to be synchronized. It's going to hit a pause
For me, this is not working
For me, this is not working
@NeerajMehta https://github.com/google/mediapipe/issues/3646
Description
error:2022-08-23 21:01:32.812 10184-12112/com.study.MediaPipeUnityPlugin E/Unity: MediaPipeException: MediaPipe Aborted, refer glog files for more details at Mediapipe.MpReturnCodeExtension.Assert (Mediapipe.MpReturnCode code) [0x0006d] in D:\Unity\SvnMediaPipe\MediapipeUnity\Packages\com.github.homuler.mediapipe\Runtime\Scripts\PInvoke\MpReturnCode.cs:51 at Mediapipe.CalculatorGraph..ctor (System.String textFormatConfig) [0x00009] in D:\Unity\SvnMediaPipe\MediapipeUnity\Packages\com.github.homuler.mediapipe\Runtime\Scripts\Framework\CalculatorGraph.cs:27 at Mediapipe.Unity.Hqft.FaceMesh+d__12.MoveNext () [0x00247] in D:\Unity\SvnMediaPipe\MediapipeUnity\Assets\Face\Scripts\FaceMesh.cs:72
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00020] in /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17
Here's my script: public class FaceMesh : MonoBehaviour { [SerializeField] private TextAsset _configAsset; [SerializeField] private RawImage _screen; [SerializeField] private int _width; [SerializeField] private int _height; [SerializeField] private int _fps; [SerializeField] private MultiFaceLandmarkListAnnotationController _multiFaceLandmarksAnnotationController;
// var screenRect = _screen.GetComponent().rect;
Here is the configuration file:face_mesh_cpu.txt face_mesh_cpu.txt Running on PC is not a problem, but when it is packaged into Android, the above error occurs