IVideoHandle.cs 672 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Drawing;
  3. using MathNet.Numerics.LinearAlgebra.Single;
  4. using MathNet.Numerics.LinearAlgebra.Single;
  5. namespace bbiwarg.DataSource
  6. {
  7. public enum DetectionStatus
  8. {
  9. Inactive,
  10. Detected,
  11. Tracked
  12. }
  13. public enum HandSide
  14. {
  15. Unknown,
  16. Left,
  17. Right
  18. }
  19. interface IVideoHandle
  20. {
  21. void nextFrame();
  22. short getDepth(int x, int y);
  23. short getConfidence(int x, int y);
  24. Color getColor(int x, int y);
  25. VertexArray getVertexArray();
  26. //convert2Dto3D(float x, float y, int depth)
  27. Vector getPalmPosition3D(uint handIndex);
  28. }
  29. }