Beispiel #1
0
        public static YoloRegion RegionFromTrainData(string data)
        {
            var result = new YoloRegion();

            result.ApplyFromStr(data);
            return(result);
        }
Beispiel #2
0
        public static YoloRegion RegionFromRectangle(RectangleF rectangle, SizeF imageSize)
        {
            var result = new YoloRegion();

            result.Apply(rectangle, imageSize);
            return(result);
        }