12345678910111213141516171819202122232425262728293031 |
- using AI.Common.Log;
- using AI.Common;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.IO;
- namespace HumanOrganSegDemo.HumanBodyPartAnalyser.OrganSegment
- {
- public interface IHumanSurfaceOrganSegment : IDisposable
- {
- /// <summary>
- /// 推理单张图
- /// </summary>
- /// <param name="image"></param>
- IDetectedObject[] EvaluateOneImage(RawImage image, Rect roi);
- /// <summary>
- /// 通知订阅者,推理过程中发生了错误
- /// </summary>
- event EventHandler<ErrorEventArgs> NotifyError;
- /// <summary>
- /// 通知订阅者,有log要记
- /// </summary>
- event EventHandler<LogEventArgs> NotifyLogWrite;
- }
- }
|