public override List <NormalizedRect> GetValue()
        {
            var rectVecPtr = UnsafeNativeMethods.MpPacketGetNormalizedRectVector(ptr);
            var rects      = SerializedProtoVector.FromPtr <NormalizedRect>(rectVecPtr, NormalizedRect.Parser);

            UnsafeNativeMethods.MpSerializedProtoVectorDestroy(rectVecPtr);

            return(rects);
        }
        public override List <Detection> GetValue()
        {
            var detectionVecPtr = UnsafeNativeMethods.MpPacketGetDetectionVector(ptr);
            var detections      = SerializedProtoVector.FromPtr <Detection>(detectionVecPtr, Detection.Parser);

            UnsafeNativeMethods.MpSerializedProtoVectorDestroy(detectionVecPtr);

            return(detections);
        }