public static unsafe void RegisterWrapped(ref Frame frame, ref RectStruct zone, Target *targets, ref int nbTarget, int maxTarget)
        {
#if UNITY_EDITOR
            CARDSTrackingPlugin.register(ref frame, ref zone, targets, ref nbTarget, maxTarget);
#else
            Register(ref frame, ref zone, targets, ref nbTarget, maxTarget);
#endif
        }
        public static unsafe bool DetectWrapped(ref Frame frame, ref Frame frameBackground, ref RectStruct zoneDetection, Target *targets, ref int nbTarget, int maxTarget, int mode)
        {
#if UNITY_EDITOR
            return(CARDSTrackingPlugin.detect(ref frame, ref frameBackground, ref zoneDetection, targets, ref nbTarget, maxTarget, mode));
#else
            return(Detect(ref frame, ref zoneDetection, targets, ref nbTarget, maxTarget, mode));
#endif
        }
 internal unsafe static extern bool Detect(ref Frame frame, ref Frame frameBackground, ref RectStruct zoneDetection, Target *targets, ref int nbTarget, int maxTarget, int mode);
 internal unsafe static extern int Register(ref Frame frame, ref RectStruct zone, Target *targets, ref int nbTarget, int maxTarget);