unsafe public DetectionInfo (ref Detection detection, double tagSize, double fx, double fy, double cx, double cy) { this.det = (IntPtr)Unsafe.AsPointer(ref detection); this.tagsize = tagSize; this.fx = fx; this.fy = fy; this.cx = cx; this.cy = cy; }
unsafe public Input(ref Interop.Detection r) => p = (Interop.Detection *)Unsafe.AsPointer(ref r);