You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel.ML/DNN/Detectors/IDetector.cs

19 lines
587 B

extern alias CoreDrawing;
using System;
using System.Collections.Generic;
using ZeroLevel.ML.DNN.Models;
namespace ZeroLevel.ML.DNN.Detectors
{
public interface IDetector
: IDisposable
{
FastTensorPool CreateInput(string filePath);
FastTensorPool CreateInput(CoreDrawing.System.Drawing.Bitmap image, string filePath = null!);
List<YoloPrediction> Detect(FastTensorPool input);
List<YoloPrediction> Detect(string filePath);
List<YoloPrediction> Detect(CoreDrawing.System.Drawing.Bitmap image, string filePath = null!);
}
}

Powered by TurnKey Linux.