IHumanSurfaceOrganSegment.cs 809 B

12345678910111213141516171819202122232425262728293031
  1. using AI.Common.Log;
  2. using AI.Common;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.IO;
  9. namespace HumanOrganSegDemo.HumanBodyPartAnalyser.OrganSegment
  10. {
  11. public interface IHumanSurfaceOrganSegment : IDisposable
  12. {
  13. /// <summary>
  14. /// 推理单张图
  15. /// </summary>
  16. /// <param name="image"></param>
  17. IDetectedObject[] EvaluateOneImage(RawImage image, Rect roi);
  18. /// <summary>
  19. /// 通知订阅者,推理过程中发生了错误
  20. /// </summary>
  21. event EventHandler<ErrorEventArgs> NotifyError;
  22. /// <summary>
  23. /// 通知订阅者,有log要记
  24. /// </summary>
  25. event EventHandler<LogEventArgs> NotifyLogWrite;
  26. }
  27. }