InputFrame.cs 743 B

1234567891011121314151617181920212223242526
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Emgu.CV;
  8. using Emgu.CV.Structure;
  9. namespace bbiwarg.InputProviders
  10. {
  11. class InputFrame
  12. {
  13. public int Width { get; private set; }
  14. public int Height { get; private set; }
  15. public IntPtr RawDepthData { get; private set; }
  16. public IntPtr RawConfidenceData { get; private set; }
  17. public InputFrame(int width, int height, IntPtr rawDepthData, IntPtr rawConfidenceData) {
  18. this.Width = width;
  19. this.Height = height;
  20. this.RawDepthData = rawDepthData;
  21. this.RawConfidenceData = rawConfidenceData;
  22. }
  23. }
  24. }